原文:14 python讀取文件時出現UnicodeDecodeError: 'gbk' codec can't decode byte 0xb7 in position 26: illegal multibyte sequence解決方法

gt gt gt f open D: all.txt , r gt gt gt f.read Traceback most recent call last : File lt pyshell gt , line , in lt module gt f.read UnicodeDecodeError: gbk codec can t decode byte xb in position : il ...

2018-10-27 18:41 0 3682 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM