摘要: 一、各种编码 1.1 各种编码的字节占用个数 1 1 = "peng" 2 s2 = b"peng" 3 4 print(s1,type(s1)) 5 print(s2,type(s2)) 6 结果: 7 peng <class 'str'> 8 b'peng' <class 'bytes'> 1 阅读全文
posted @ 2019-03-24 15:26 xiaofeiAI 阅读(152) 评论(0) 推荐(0) 编辑