Python报错UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 0: ordinal not in range(128)时间:2021-11-17 00:48:55解决办法: 在报错的页面添加代码: import sys reload(sys) sys.setdefaultencoding('utf8')