解决UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xa6 in position 9737:
with open(file) as f:

将其改成:

with open(file,encoding=“utf-8”) as f:
    illegal multibyte sequence问题

相关文章:

  • 2022-02-04
  • 2022-12-23
  • 2022-02-08
  • 2021-11-21
  • 2021-10-26
  • 2021-08-12
  • 2021-04-19
  • 2021-12-27
猜你喜欢
  • 2022-12-23
  • 2021-09-14
  • 2021-09-06
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
相关资源
相似解决方案