root2周前9
test.ini 配置文件中有mysql的密码,且密码含有“%”这个特殊符号因为%在py是转义符的含义需要对该字符转义即修改 % 为 %%用%对%进行转义...
root1个月前18
123456import os #回去当前文件路径os.path.realpath(__file__)#获取文件是否存在os.path.exists(filepath)#获取文件大...
root1个月前16
rsa 是非对称加密公钥加密,私钥解密pip install rsaimport rsa from binascii import b2a_hex, ...
root1个月前16
更新logging 源码1248行f f f.f_back替换为f f f.f_back f_2 f...
root2个月前25
yum install python-develpip install --upgrade setuptoolspip install&nb...
root2个月前26
flask的uwsgi配置文件[uwsgi]pythonpath=/usr/bin/python3 #uwsgi采用的py版本,如果项目采用的py版本跟系统默认一直可以不用写base=/*...
root3个月前87
[root@internet geo_server]# pip install psutilDEPRECATION: Python 2.7&...
root3个月前27
Popen 的构造函数可以尝试指定一下 close_fds = True意思是不继承主线程的上下文件因为Popen在启动一个进程时容易出现僵尸进程,当主进程死亡时可能会继承主进程的上下文资源...
root4个月前26
pip install eventlet #安装依赖包# -*- coding:utf-8 -*- import eventlet i...
root4个月前27
linux信号 1) SIGHUP 2) SIGINT &...