阅读背景:

UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xa4 in position 4: illegal multibyte sequence_咕噜君的博客

来源:互联网 

python读取txt文件

with open("./result.txt", "r",) as f:  # 打开文件
    data = f.read()  # 读取文件    with open("./result.txt", "r",)



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: