UnicodeDecodeError: 'gbk' codec can't decode byte 0x9a in position 5: illegal multibyte sequence
将代码
ff=open('pingjuncj.txt','r')
改为
ff=open('pingjuncj.txt','r',encoding='utf-8')
UnicodeDecodeError: 'gbk' codec can't decode byte 0x9a in position 5: illegal multibyte sequence
将代码
ff=open('pingjuncj.txt','r')
改为
ff=open('pingjuncj.txt','r',encoding='utf-8')