04 2019 档案
Python2和3版本对str和bytes类型的处理
摘要:python2中字符串分为2种类型: 字节类型:str,字节类型,通过decode()转化为unicode类型 unicode类型:unicode ,通过encode转化为str字节类型 字节类型:str,字节类型,通过decode()转化为unicode类型 unicode类型:unicode , 阅读全文
posted @ 2019-04-03 09:55 天马行宇 阅读(1639) 评论(0) 推荐(0)