string — Common string operations — Python 3.15.2 documentation
| string — Common string operations¶. Source code: Lib/string/__init__.py. See also. Text Sequence Type — str.Note. By design, string.printable.isprintable() returns False. In particular, string.printable is not printable in the POSIX sense (see LC_CTYPE).