摘要: python2中字符串分为2种类型: 字节类型:str,字节类型,通过decode()转化为unicode类型 unicode类型:unicode ,通过encode转化为str字节类型 字节类型:str,字节类型,通过decode()转化为unicode类型 unicode类型:unicode , 阅读全文
posted @ 2019-04-03 09:55 天马行宇 阅读(1332) 评论(0) 推荐(0) 编辑