from urllib.request import urlopen
html=urlopen("https://www.google.com")
print(html)
输出的代码:
<http.client.HTTPResponse object at 0x02077970>
-----------------------------------------------------------------
问题已解决
http://stackoverflow.com/questions/32169421/how-do-i-overcome-python-http-client-httpresponse-objects
x = urlopen(url_getallfolders)
data = x.read()
print(x)