python 读取数据,报错:
f = open(filepath)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 6538: invalid start byte
修改
f = open(filepath,encoding='gbk')
没有问题。
python 读取数据,报错:
f = open(filepath)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 6538: invalid start byte
修改
f = open(filepath,encoding='gbk')
没有问题。