![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
爬虫bug
在涅贵不滋暧暧内含光
这个作者很懒,什么都没留下…
展开
-
len(list) 和 len(list[0])的差异
项目场景:删除错误照片后,需要重新批量修改剩余照片的后缀名问题描述:文件/home/aistudio/an/an_77.jpg重命名成功,新的文件名为/home/aistudio/an/an_1jpg新的文件名缺少".", 而不是an_1.jpg提示:import ospath = "/home/aistudio/an/" # 目标路径 """os.listdir(path) 操作效果为 返回指定路径(path)文件夹中所有文件名"""filename_list = os原创 2020-09-19 15:17:48 · 1874 阅读 · 0 评论 -
FeatureNotFound: Couldn’t find a tree builder with the features you requested: html.parser.
项目场景: FeatureNotFound: Couldn’t find a tree builder with the features you requested: lxml. Do you need to install a parser library?问题解决问题描述:soup=BeautifulSoup(content,'html-parser') FeatureNotFound: Couldn’t find a tree builder with the featu原创 2020-09-18 17:59:03 · 197 阅读 · 0 评论