怎么網(wǎng)頁(yè)代碼不出來(lái)
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()?
為什么不出代碼,不出網(wǎng)頁(yè)代碼?本人版本pyhon2,7 ? ?
一開(kāi)始是<addinfourl at 42954504L whose fp = <socket._fileobject object at 0x000000000290A1B0>> ? ? 現(xiàn)在正常運(yùn)行Process finished with exit code 0 ?就是不出網(wǎng)頁(yè)源碼?
2018-04-15