![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 57
zmx8023zmj
加油
展开
-
python项目打包
pyinstaller -D manage.pyflask项目,可以在项目的根目录下执行该命令第一确保:项目中引用的第三方库全部已在 本地安装的第三方库列表内第二:确保pyinstaller已安装原创 2021-04-20 11:33:56 · 102 阅读 · 0 评论 -
python爬虫
http://c.biancheng.net/view/2011.html原创 2021-03-26 10:53:33 · 77 阅读 · 0 评论 -
搞定python打包成exe, Windows上无环境可运行
https://blog.csdn.net/wanghuan0/article/details/100655160?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPai2%7Edefault-2.control&dist_request_id=1328725.7162.16167261436529813&depth_1-utm_source=distribut原创 2021-03-26 10:47:04 · 701 阅读 · 4 评论 -
No module named ‘MySQLdb‘”
https://blog.csdn.net/Granery/article/details/89787348?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu_weight&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu_we原创 2020-09-02 09:37:15 · 218 阅读 · 0 评论 -
Flask + PyJWT 实现用户认证授权
Flask + PyJWT实现基于Json Web Token的用户认证授权https://blog.csdn.net/yilovexing/article/details/104010890https://github.com/yaoyonstudio/flask-pyjwt-auth原创 2020-08-28 17:05:27 · 542 阅读 · 0 评论 -
linux下部署python项目
将python项目打包,这里的打包是将python打成压缩包。之后在指定的文件夹下进行解压。对于python项目用到的依赖包即第三方库,可以将本地已经下载好的依赖包放在虚拟环境Lib/site-packages/下的复制或则移动到linux上python安装的系统目录下类似/usr/local/python3/lib/python3.6/site-packages。之后到启动类所在的文件夹下执行 nohup python3 -u manage.py server & 如果报某个模块不存在,则说明在w原创 2020-07-14 15:36:57 · 330 阅读 · 0 评论 -
linux安装python3
https://blog.csdn.net/L_15156024189/article/details/84831045原创 2020-07-14 15:30:26 · 80 阅读 · 0 评论 -
Selenium 截屏、隐式等待页面加载
import urllibfrom urllib import requestfrom selenium import webdriverimport timefrom selenium.webdriver.common.by import Byurl = 'https://www.baidu.com/'if __name__ == '__main__': # 处理网页 # response = urllib.request.urlopen(url='http://www..原创 2020-05-14 13:16:40 · 402 阅读 · 0 评论 -
PyCharm工具内填写 正则,进行快速替换
给下列一段请求头,更改为字典格式的数据类型。需要给对应的key和value添加单引号使用Regex正则查找 (.*): (.*) 替换为 '$1':'$2',全部替换之后,赋值给字典类型最终结果如下原创 2020-05-12 15:52:51 · 3557 阅读 · 0 评论 -
Python资源
Web框架、网络爬虫、网络内容提取、模板引擎、数据库、数据可视化、图片处理、文本处理、自然语言处理、机器学习、日志、代码分析等https://github.com/jhao104/awesome-python-cn...原创 2020-04-30 15:14:08 · 107 阅读 · 0 评论 -
jupyter notebook是一种Web 应用,能让用户将说明文本、数学方程、代码和可视化内容全部组合到一个易于共享的文档中
Jupyter notebook(http://jupyter.org/) 是一种 Web 应用,能让用户将说明文本、数学方程、代码和可视化内容全部组合到一个易于共享的文档中。原创 2020-04-27 16:26:39 · 653 阅读 · 0 评论 -
在进行天猫商品数据爬虫时遇到selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe'
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH.1.打开chrome 输入 “chrome://version/”来查看chrome版本 如图是802.访问此网站http://chromedriver.stora...原创 2020-04-17 16:56:04 · 369 阅读 · 0 评论 -
pipenv
https://www.jb51.net/article/167515.htm原创 2020-04-03 14:18:22 · 97 阅读 · 0 评论 -
python安装依赖包慢解决办法及pipreqs的作用
如安装pipreqs 即可以导出项目依赖的包pip install -i https://pypi.tuna.tsinghua.edu.cn/simplepipreqs之后在进入项目目录下 执行pipreqs ./ --encoding=utf8如果出现WARNING: Requirements.txt already exists, use --force to o...原创 2020-04-03 14:09:06 · 2277 阅读 · 1 评论 -
python flask打包和安装所需要依赖包的方法
参考文章https://blog.csdn.net/chuta9217/article/details/100617765打包项目原创 2020-03-06 16:57:12 · 2191 阅读 · 0 评论 -
python安装第三方库报错解决办法
参考文章:https://www.cnblogs.com/hellojiaojiao/p/10790273.html原创 2020-03-05 21:20:44 · 445 阅读 · 0 评论 -
python 安装虚拟环境 virtualenv时
网络不稳定在安装时 会出现ERROR: Could not find a version that satisfies the requirement virtualenv (from versions: none)ERROR: No matching distribution found for virtualenv因此再安装模块时指定国内镜像,比如安装虚拟环境时pip inst...原创 2020-02-05 09:28:23 · 416 阅读 · 0 评论 -
PyCharm安装所需要的第三方库
PyCharm安装所需要的第三方库file--->settings--->project interpreter如果安装失败,可以多次进行多次安装。原创 2020-01-20 10:02:48 · 1213 阅读 · 0 评论