摘要: 转载请标注原文地址:http://blog.csdn.net/lhw413/article/details/72673580 Python2 默认编码为ASCII 如需转为其它编码需: 1、先把字符串转为unicode,方法为:字符串.encode("以前类型"),如s.encode("utf-8" 阅读全文
posted @ 2017-05-24 09:58 刘小伟 阅读(364) 评论(0) 推荐(0) 编辑