Python DB-API使用流程: 引入API模块 获取与数据库的连接 执行SQL语句和存储过程 关闭数据库连接 一、接口包安装 1)windows环境 下载地址:https://pypi.python.org/pypi/MySQL-python/1.2.5 比如:MySQL-python-1.2 ...
分类:
数据库 时间:
2020-07-09 20:56:44
阅读次数:
81
临时换源: pip2 install setuptools==44.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple 永久换源: vim ~/.pip/pip.conf [global] index-url=http://pypi.douban.com/ ...
分类:
其他好文 时间:
2020-07-09 12:15:00
阅读次数:
203
cd mkdir .pip cd .pip vim pip.conf [global] index-url=http://pypi.douban.com/simple trusted-host = pypi.douban.com ...
分类:
其他好文 时间:
2020-07-06 16:40:11
阅读次数:
55
源码安装: $ curl -O https://pypi.python.org/packages/source/p/pip/pip-X.X.tar.gz $ tar xvfz pip-X.X.tar.gz $ cd pip-X.X $ python setup.py install 但是安装过程可能 ...
分类:
编程语言 时间:
2020-07-05 15:06:54
阅读次数:
70
直接pip安装使用即可: 1、pytest-xdist功能:开启多个worker进程,同时执行多个测试用例,达到并发运行的效果官网介绍:https://pypi.org/project/pytest-xdist/ 2、pytest-allure-adaptor功能:生成allure报告,推荐jenk ...
分类:
其他好文 时间:
2020-07-04 15:16:43
阅读次数:
112
安装wxpython https://blog.csdn.net/lsf_007/article/details/87931823 pip install wxpython -i http://pypi.douban.com/simple --trusted-host pypi.douban.com ...
分类:
编程语言 时间:
2020-07-04 15:07:27
阅读次数:
63
pymysql模块: pip3 install pymysql -i https://pypi.douban.com/simple Python模块:对数据库进行操作(SQL语句) 1. Python实现用户登录 2. MySQL保存数据 - 连接、关闭(游标) - execute() -- SQL ...
分类:
数据库 时间:
2020-07-03 23:23:06
阅读次数:
81
###官网下载地址 https://pypi.org/project/muggle-ocr/ pip install muggle_ocr pip install muggle_ocr -i http://pypi.douban.com/simple --trusted-host pypi.doub ...
分类:
编程语言 时间:
2020-07-03 17:18:47
阅读次数:
214
1. 安装python2x, python3x 2. python2x、python3x 目录下 python.exe > python2.exe python3.exe 3. 添加python2x 和 python3x 到环境变量,分号隔开 4. 删除python2和python3 Lib/sit ...
分类:
编程语言 时间:
2020-07-02 18:08:15
阅读次数:
67
ModuleNotFoundError: No module named ‘dlib’尝试命令,但没成功 pip3 install dlib -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com 解决方法:第1步下载对应py ...
分类:
编程语言 时间:
2020-06-30 16:05:09
阅读次数:
296