UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 0: illegal multiby
作者:互联网
5.2记录
f = open(‘testData’)
testData = pickle.load(f)
错误提醒=>
UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0x80 in position 0: illegal multibyte sequence
修改为
f = open(‘testData’, ‘rb+’)
testData = pickle.load(f)
标签:load,sequence,illegal,multibyte,gbk,testData 来源: https://blog.csdn.net/weixin_44961352/article/details/89761746