![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
lynxzong
这个作者很懒,什么都没留下…
展开
-
Beautiful Soup 中文文档
Beautiful Soup 的翻译文档及剪辑最常用的方法。原创 2017-08-08 06:13:38 · 978 阅读 · 0 评论 -
python 3.0 去除字符串中指定字符的几个方法
Python 3.0 中,可以用来去除字符的函数有:strip(), replace(), resub(),strip():strip(str):可以去除头尾指定字符,参数为空时,默认去除字符串中头尾的空格字符>>> s = '/n 123456 /n'>>> s.strip('/n')' 123456 '>>&...原创 2019-05-25 23:18:21 · 44391 阅读 · 3 评论 -
python selenium3.0 解决:提示FileNotFoundError: [WinError 2] 系统找不到指定的文件问题
用python使用selenium 模拟firefox来抓取网页时, 会出现提示FileNotFoundError: [WinError 2] 系统找不到指定的文件的问题,代码:from selenium import webdriverfrom selenium.webdriver.common.keys import Keysdriver = webdriver.Fire...原创 2019-05-27 09:29:37 · 4927 阅读 · 1 评论