原文: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