UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xbf in position 0: incomplete multibyte sequencef

file = open('param.txt', 'r', encoding='utf-8')

从GBK改成utf-8

猜你喜欢

转载自blog.csdn.net/xiaoxiamimm/article/details/114902539