![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
南途
这个作者很懒,什么都没留下…
展开
-
使用selenium时提示:ImportError:No module named selenium
使用selenium时提示:ImportError:No module named selenium问题分析:用的是mac系统,已经通过sudo pip install -U selenium安装好了selenium,但是无论用命令行还是用sublime导入selenium都会提示错误。于是查了一下python的路径,才发现我电脑有两个python路径一个在路径/usr/loc...转载 2018-07-31 10:36:32 · 2755 阅读 · 2 评论 -
退出Python命令行
1- 在网上查看,很多人说可以通过Ctrl+Z来退出,不知道是电脑的原因还是什么,亲测无效2- 通过输入quit(),">>>quit()",亲测有效原创 2018-07-31 16:57:40 · 2096 阅读 · 0 评论 -
Python基本语法
1- """ 或 ''' 来指定多行字符串example: s='''this is a multi-line string. This is the second line'''print: this is a multi-line string. This is the second line2- 从其他信息中构...原创 2018-07-31 18:02:59 · 136 阅读 · 0 评论 -
关于chromedriver executable needs to be in path 问题
刚刚开始学习Python爬虫,在 Python 下引用 Selenium 包开发时, WebDriver甩出了一个错误消息然后就中断了,错误消息:WebDriverException: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromed...原创 2018-08-14 11:00:36 · 2055 阅读 · 0 评论