- 博客(1)
- 收藏
- 关注
原创 最愚蠢的错误,没有之一!module 're' has no attribute 'findall'
代码需求很简单:打开一个网页,读取网页的源文件代码,是爬虫的第一步代码如下:import urllib.request import re url = 'https://tieba.baidu.com/index.html' page = urllib.request.urlopen(url) html = page.read() html = html.decode('UTF-8') print
2017-12-21 14:40:48
19781
14
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人