怎么网页代码不出来
hh=cookielib.CookieJar()
opener=urllib2.build_opener(urllib2.HTTPCookieProcessor(hh)) urllib2.install_opener(opener)
response3=urllib2.urlopen(url)
print response3.getcode()
print len(response3.read())
print response3.read()
为什么不出代码,不出网页代码?本人版本pyhon2,7
一开始是<addinfourl at 42954504L whose fp = <socket._fileobject object at 0x000000000290A1B0>> 现在正常运行Process finished with exit code 0 就是不出网页源码