Python3(Urllib) - <bound method =“”httpresponse.read =“”of =“”<http.client.httpresponse =“”object =“”at =“”0x03281bd0 =“”>&gt;

时间:2016-04-09 09:56:18

标签: python python-3.x urllib

import urllib.request

html = urllib.request.urlopen('http://jshawl.com/python-playground/')
s = html.read
print(s)

这是我得到的错误:

  

&lt;&lt; http.client.HTTPResponse对象的绑定方法HTTPResponse.read   0x032B18D0&GT;&GT;

如何修复此错误?我犯了什么错误?

0 个答案:

没有答案