随笔分类 -  python工具包

摘要:windows 1 不同的项目依赖不同的模块版本,不能共用一套环境,虚拟环境 2 在系统的python环境中安装 -下载 pip3 install virtualenv pip3 install virtualenvwrapper-win -修改环境变量 WORKON_HOME: D:\Virtua 阅读全文
posted @ 2020-07-18 23:27 the3times
摘要:pip国内的一些镜像 阿里云 http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣(douban) http://pypi.douban.com/simple/ 清华大学 h 阅读全文
posted @ 2020-07-18 23:26 the3times
摘要:部署环境 阿里云ECS服务器,centos8 python3.7,django1.11.11 nginx,uwsgi 安装 python3.7 ~~~python 1. 安装依赖包(不仅仅是python的依赖包) yum install openssl devel bzip2 devel expat 阅读全文
posted @ 2020-05-23 18:01 the3times
摘要:paramiko模块 paramiko是一个用于做远程控制的模块,使用该模块可以对远程服务器进行命令或文件操作; 值得一说的是,fabric和ansible内部的远程管理就是使用的paramiko来现实。 "Copy from this BLOG" 下载安装 SSHClient 用于连接远程服务器并 阅读全文
posted @ 2020-05-16 15:24 the3times
摘要:git软件 下载安装git软件。 安装成功后,任意路径位置,鼠标右键出现Git-Gui和Git-Bash图标,即安装成功。 在任意路径(文件夹下)进入Git-bash环境,开始git之旅吧。 git版本控制使用流程 进入要管理的文件夹 执行初始化命令 git init 管理目录下的文件状态 git 阅读全文
posted @ 2020-05-14 22:41 the3times
摘要:Can't connect to HTTPS URL because the SSL module is not available. skipping "参考博客" 阅读全文
posted @ 2020-05-13 22:27 the3times
摘要:飞机大战 最近学习了python的面向对象,对面向对象的理解不是很深刻。 面向对象是数据和函数的'打包整理',将相关数据和处理数据的方法集中在一个地方,方便使用和管理。 本着学习的目的,在网上找了这个飞机大战游戏的素材和相关代码,自己研究学习,加深对面向对象的理解。 python可以做游戏,最基本的 阅读全文
posted @ 2020-05-02 15:43 the3times
摘要:在win10上使用命令行终端很难受,因为那个不好用的默认cmd。就算是新出来的powershell界面操作也不怎么友好。 之前安装使用过git,发现git的bash环境很漂亮,里面可以使用linux的一些命令,感觉也是可以在里面是用mysql和python的。 网上资源一查,发现可以的。 git 连 阅读全文
posted @ 2020-05-01 09:23 the3times
摘要:pyinstaller的spec文件打包程序为exe文件 阅读全文
posted @ 2020-02-29 20:47 the3times