第一个用python3写的爬虫小例子

 #!usr/bin/python import urllib.request

response = urllib.request.urlopen("http://www.baidu.com");

print (response.read());

posted @ 2016-11-09 22:18  小米6  阅读(2070)  评论(0编辑  收藏  举报