chatdet用法

1. 下载chardet

2. 在命令提示符里转到chardet的存放目录,执行python setup.py install

3. 在代码中用 import chardet 导入模块

4. 用法:chardet.detect("str")

posted on 2015-04-07 09:05  GreenBean  阅读(169)  评论(0编辑  收藏  举报

导航