python
eus12
这个作者很懒,什么都没留下…
展开
-
edge驱动不在环境变量中
将Edge浏览器驱动msedgedriver.exe 重命名为MicrosoftWebDriver.exe,即可正常运行。原创 2023-08-11 18:26:22 · 391 阅读 · 2 评论 -
安装第三方插件Faker
http://mirrors.aliyun.com/pypi/simple/阿里云https://pypi.mirrors.ustc.edu.cn/simple/ 中国科技大学http://pypi.douban.com/simple/豆瓣https://pypi.tuna.tsinghua.edu.cn/simple/清华大学http://pypi.mirrors.ustc.edu.cn/simple/中国科学技术大学。原创 2023-08-29 20:36:26 · 231 阅读 · 1 评论 -
python 3.6.4 重新安装后,Scripts文件为空
pthon 3.6.4 重新安装后,Scripts文件为空在DOC命令下输入python -m ensurepip --default-pip,查看scripts生成pip.exe原创 2021-09-26 20:26:07 · 280 阅读 · 0 评论 -
python安装request库
1、安装requestspip install requests2、doc命令下进入pythonimport requestsr=requests.get("http://www.bidu.com")r.status_code # http请求的返回状态,200表示转接成功,404表示失败type(r)r.headersr.encoding #从http header中猜测的响应内容编码方式(默认:ISO-8859-1)r.apparent_encoding # 从内容中分析出的响应内原创 2021-09-26 20:33:07 · 968 阅读 · 0 评论