解决Python:'gbk' codec can't decode byte 0xae in position 199: illegal multibyte sequence
我在读取txt文件中报了一个:
‘gbk’ codec can’t decode byte 0xae in position 199: illegal multibyte sequence
解决方法:
加上一个,encoding=‘ISO-8859-15’,就可以正常读取了
...
原创
2019-03-19 08:47:07 ·
9225 阅读 ·
2 评论