python3入门----一个实例

这个程序打算实现的功能是:从一个网页爬取所要的信息html 获取HTML def __getHTML(self): r = request.urlopen(Spider.__url) #bytes html = r.read() #转成字符串 html = str(html,encoding='utf-8')
相关文章
相关标签/搜索