python读 取文本内容乱码的解决方法:. 1、查看文件编码方式:. 1. 2. 3. 4. import chardet. fobj=open(fname, 'r' ). data=fobj.read().
確定! 回上一頁