pytest测试入门--简单使用
pytest测试入门–简单使用安装1pip install pytest 初步使用1234mkdir pytest_democd pytest_demovim test_1.pycat test_1.py 测试使用到的代码如下: 12345678910111213141516import pyt ...
阅读更多
centos上安装python环境
1、安装python-pip​ 首先安装epel扩展源: ​ yum -y install epel-release ​ 更新完成之后,安装pip: ​ yum -y install python-pip 2、安装python依赖包:​ 初次直接运行: ...
阅读更多
git相关命令
git基础命令创建git仓库 git init 将修改文件加入暂存区 git add xxx 查看当前git状态 git status git status -s #查看状态情况 如何忽略修改文件 vim .gitignore #加入到文件中的会被忽略 查看文件的差异 g ...
阅读更多
Sqlalchemy实战入门--建表
Sqlalchemy实战入门–建表​ 现在所有的sqlalchemy入门教程都比较笼统,所以自己写一份教程。 安装1234#安装mysql连接包pip install pymysql#安装sqlalchemypip install sqlalchemy 创建orm模型123456789101 ...
阅读更多
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in ...
阅读更多