cmd启动python交互模式 出现UnicodeDecodeError: 'gbk' codec can't decode byte 0x9a in position 533
这是因为在python交互模式的中输出了中文,且是个输出被记录在.python_history中
删除历史记录文件
C:\Users\Administrator\.python_history
这是因为在python交互模式的中输出了中文,且是个输出被记录在.python_history中
删除历史记录文件
C:\Users\Administrator\.python_history
pip install eventlet #安装依赖包# -*- coding:utf-8 -*- import eventlet import time e...
(, )os.path.(, )logger.() os.path.(, )logger.() &...
1、利用openssl生成自用的ssl证书利用openssl 生成证书openssl genrsa -des3 -out server.key 2048不要密码:再执行 一下:openssl rsa -in server.key -out...
maxConnections connection_lock (maxConnections)在开启线程前执行connection_lock.acquire()线程执行结束执行connection_lock.releas...
python2.7 当然可能还有其他情况有的是pip版本升级过高,有的是pip有点问题无法执行pip的命令升级python2的 pip 一定要小心推荐命令:pip install --upgrad...
import subprocesscommd = "echo 123"p1 = subprocess.Popen(commd, shell=True, stdout=subprocess.PIPE, stder...