源代码:
fo = open("***.csv","r")
报错:
解决方案:
fo = open("***.csv","r",encoding=‘UTF-8‘)
Python文件读取报错 UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 9: illegal multibyte sequence
原文:https://www.cnblogs.com/legoxz/p/8511542.html