python报错-UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 4

1.报错截图: 2.报错代码: b = [x for x in open('F://3m-q-200427//result.txt').readlines() if x.find('words_str')>-1] with open('F:/3m-q-200427/wordstr.txt','w') as f: f.writelines(b) print("finish") 3.解决方法
相关文章
相关标签/搜索