摘要: import urllib.requestresponse = urllib.request.urlopen('http://www.baidu.com')html = response.read()print(html) 上面的代码正常但是运行的时候结果遇到中文会以\xe7\x99\xbe\xe5 阅读全文
posted @ 2016-08-04 14:14 宋不争 阅读(1525) 评论(0) 推荐(0) 编辑