// 设置编码为utf-8即可
with open(path+file, 'r', encoding='utf-8') as f:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 199: ordinal not in range(128)
最新推荐文章于 2023-06-01 11:07:27 发布
// 设置编码为utf-8即可
with open(path+file, 'r', encoding='utf-8') as f: