string — Text Constants and Templates — PyMOTW 3

The string module dates from the earliest versions of Python. Many of the functions previously implemented in the module have been moved to methods of str objects. The string module retains several useful constants and classes for working with str objects, and this discussion will concentrate on them.

Read more…

This post is part of the Python Module of the Week series for Python 3. See for more articles from the series.