python 读取文件时报错UnicodeDecodeError
2019-08-07 本文已影响0人
书生_Scholar
解决办法1.
FILE_OBJECT= open('order.log','r', encoding='UTF-8')
解决办法2
FILE_OBJECT= open('order.log','rb')
FILE_OBJECT= open('order.log','r', encoding='UTF-8')
FILE_OBJECT= open('order.log','rb')