import chardet
 
f = open('/path/file.txt',r)
data = f.read()
print(chardet.detect(data)

 

相关文章:

  • 2021-12-05
  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
  • 2021-11-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2021-10-09
  • 2022-02-09
  • 2021-07-25
相关资源
相似解决方案