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...
flask的uwsgi配置文件[uwsgi]pythonpath=/usr/bin/python3 #uwsgi采用的py版本,如果项目采用的py版本跟系统默认一直可以不用写base=/***/***/*** &nb...
rsa 是非对称加密公钥加密,私钥解密pip install rsaimport rsa from binascii import b2a_hex, a2b_hex class&nb...
用到的包: pandas pyarrow pandas pd df pd.(,,) df.()要求csv文件 要有头行一定要安装pyarro...
import warnings warnings.filterwarnings('ignore')在文件头添加忽略警告信息的输出r = requests.get('https://kyfw.12306.cn...