[4] 웹 페이지 호출 예제 (urllib, urllib2)
import urllib import urllib2 url = "http://server/wordpress/wp-login.php" values = {'log':'python', 'pwd':'python1'} headers = {'User-Agent': 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)'} data = urllib.urlencode(values) request = urllib2.Request(url, data, headers) response = urllib2.urlopen(request) print "#URL:%s" % response.geturl() print "#CODE:%s" % response.getcode() print "#INFO:%s" %..