python获取当前字符串编码格式

1 import chardet
2     print chardet.detect(html)

 

posted on 2019-07-26 16:48  王玉琪6688  阅读(1747)  评论(0编辑  收藏  举报

导航