Moduły opisane w tym rozdziale oferują szeroki wachlarz operacji służących manipulowaniu napisami. Oto ich zestawienie:
| string | Common string operations. | |
| re | Regular expression search and match operations with a Perl-style expression syntax. | |
| struct | Interpretowanie napisów jako upakowanych danych binarnych | |
| difflib | Helpers for computing differences between objects. | |
| fpformat | General floating point formatting functions. | |
| StringIO | Read and write strings as if they were files. | |
| cStringIO | Faster version of StringIO, but not subclassable. | |
| textwrap | Text wrapping and filling | |
| codecs | Encode and decode data and streams. | |
| unicodedata | Access the Unicode Database. | |
| stringprep | String preparation, as per RFC 3453 |
Informacje na temat metod obiektów napisowych można odnaleźć w sekcji 2.2.6, "Metody napisowe".
Zajrzyj do Informacji na temat tej publikacji... aby pomóc w jej rozwoju.