解码错误。'gb2312' codec can't decode byte 0xf3 in position 307307: illegal multibyte sequence

一般在decode加errors="ignore"就可以了。例如:

decode('gb2312',errors = 'ignore')
发布了143 篇原创文章 · 获赞 21 · 访问量 20万+

猜你喜欢

转载自blog.csdn.net/weixin_40306397/article/details/89477212