import chardet f = open(file='test1.txt', mode='rb') data = f.read() print(chardet.detect(data))
import chardet f = open(file='test1.txt', mode='rb') data = f.read() print(chardet.detect(data))
转载于:https://www.cnblogs.com/wt7018/p/11064565.html
1239
2708
1756
6281
2352
186

被折叠的 条评论
为什么被折叠?