f = open(file_path,'r',encoding='utf8')

用起来很方便,不需要先读取再转码了。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-27
  • 2021-12-26
  • 2021-07-15
猜你喜欢
  • 2021-12-10
  • 2022-01-02
  • 2022-12-23
  • 2021-12-06
  • 2021-12-29
相关资源
相似解决方案