摘要: Python2 在python中包含两种字符串类型:str和unicode,str并不是完全意义上的字符串,其实是由unicode经过编码(encode)后的字节组成的字节字符串,而unicode则是真正意义上的字符串,由字符组成。 python 在内部使用两个字节来存储一个unicode,使用un 阅读全文
posted @ 2018-08-16 20:02 Leo~Chan 阅读(526) 评论(0) 推荐(0) 编辑