Python中的’x’代表后面的字符是十六进制位
比如’xaa’就相当于chr(0xaa)
‘xaa’是一个Unicode字符串
参考官方文档:
https://docs.Python.org/3/reference/lexical_analysis.html#string-and-bytes-literals
Python中的’x’代表后面的字符是十六进制位
比如’xaa’就相当于chr(0xaa)
‘xaa’是一个Unicode字符串
参考官方文档:
https://docs.Python.org/3/reference/lexical_analysis.html#string-and-bytes-literals
近期评论