标签:https sequence python decode can 读取文件 error: style order
python读取文件时提示"UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x80 in position 205: illegal multibyte sequence"
解决办法1.
FILE_OBJECT= open(‘order.log‘,‘r‘, encoding=‘UTF-8‘)
解决办法2.
FILE_OBJECT= open(‘order.log‘,‘rb‘)
本文转自
↓↓↓↓↓↓↓↓↓↓↓↓↓↓
标签:https sequence python decode can 读取文件 error: style order
原文地址:https://www.cnblogs.com/qmjy/p/11438884.html