摘要: 解释以下几个问题: (1)python2中str和unicode是两种字符串类型,与字符编码方式是什么关系? (2)str和unicode是怎么相互转换的? (3)'\x...';'\u...', '\U...'; u'...',u'\u...',u'\U...'这些都是什么意思? (4)字符“汉” 阅读全文
posted @ 2017-07-17 23:42 tlz888 阅读(1034) 评论(0) 推荐(0) 编辑