python2 with open 没有 encoding 这个参数 会报错, 可以 

import io

with io.open(path,"") as f: 这样就ok 或者是读取的时候 加上 encoding 

相关文章:

  • 2021-12-05
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
  • 2021-10-02
  • 2021-10-21
  • 2022-02-26
猜你喜欢
  • 2021-07-04
  • 2022-12-23
  • 2022-12-23
  • 2021-10-30
  • 2022-12-23
相关资源
相似解决方案