- 博客(2)
- 收藏
- 关注
原创 用chardet module自动识别文件编码
http://chardet.feedparser.org/返回encoding和confidence试了下很有效 Example: Using the detect functionThe detect function takes one argument, a non-Unicode string. It returns a dictionary containing the aut
2008-02-28 22:40:00 449
原创 获得机器上所有IP地址的方法
socket.gethostbyname_ex(socket.gethostname())返回tuple(hostname, aliaslist, ipaddrlist)
2008-02-28 22:29:00 231
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人