利用python写一个简单的小爬虫 爬虫日记(1)(好好学习)
摘要:
打开py的IDLE >>>import urllib.request >>>a=urllib.request.urlopen("http://www.baidu.com") >>>html=a.read().decode("utf-8") >>>print(html) 结果: 阅读全文
posted @ 2017-06-15 11:17 东京$ 阅读(344) 评论(0) 推荐(0) 编辑