常见的 Python Http Library使用 Aug 4th, 2012 | Comments urllib2 1 2 3 4 import urllib2 response = urllib2.urlopen('http://www.google.com') response.read() #return content of requsted url in string format