python中字符串以u b r f开头的意思
bytes字节符,打印以b开头
>>> b= b'have' >>> print(b) b'have'
非转义原生字符
>>> print(r'have\n') have\n >>>
unicode编码字符,python3默认字符串编码方式
>>> print(u'have\n') have >>>
https://blog.csdn.net/qq_16234613/article/details/79448203
bytes字节符,打印以b开头
>>> b= b'have' >>> print(b) b'have'
非转义原生字符
>>> print(r'have\n') have\n >>>
unicode编码字符,python3默认字符串编码方式
>>> print(u'have\n') have >>>
https://blog.csdn.net/qq_16234613/article/details/79448203