- string
a
unicode string
or abyte string
- unicode string
a Unicode string type (
unicode <py2:unicode>
in Python 2, andpy3:str
in Python 3)- byte string
a byte string type (
py2:str
in Python 2, andpy3:bytes
in Python 3). Unless otherwise indicated, byte strings in this project are always UTF-8 encoded.
- Python Glossary