摘要: 1. urlopen可以给一个Request Object返回一个response object,read()读取相应对象的内容,这时候的print(the_page)可以输出网页的html内容1 import urllib22 3 req = urllib2.Request('http://www... 阅读全文
posted @ 2014-07-19 23:49 Jolin123 阅读(273) 评论(0) 推荐(0) 编辑