Next / Previous / Contents / Shipman's homepage

9. Type str: Strings of 8-bit characters

Python has two string types. Type str holds strings of zero or more 8-bit characters, while unicode strings provide full support of the expanded Unicode character set; see Section 10, “Type unicode: Strings of 32-bit characters”.

In addition to the functions described in Section 8.1, “Operations common to all the sequence types”, these functions apply to strings: