摘要: #编码:#py3中只有2种数据类型:str , bytes# str: unicode形式# bytes: 16进制 (更底层) 有utf8,gbk,gb2312 等等类型#s='hi 范'# 编码: str > bytes # sb1 = bytes(s,'utf-8') # sb2 = s.en 阅读全文
posted @ 2017-10-24 22:13 xuanhui 阅读(319) 评论(0) 推荐(0) 编辑