摘要: 抓取网页 import urllib.request //导入模块 result=urllib.request.urlopen('http://www.baidu.com')//打开url网址的操作 getnr=result.read()//read()读取内容,返回一个字符串 print getn 阅读全文
posted @ 2017-03-20 18:43 在下刘彦直 阅读(142) 评论(0) 推荐(0) 编辑