python 最简单的爬虫
import urllib.request
file=urllib.request.urlopen("http://www.qq.com")
data=file.read()
dataline = file.readline()
print(data)
print(dataline)
你来是缘分,你走也是
import urllib.request
file=urllib.request.urlopen("http://www.qq.com")
data=file.read()
dataline = file.readline()
print(data)
print(dataline)