string module defines constants and variables
for processing string objects, above and beyond string type
operations. See also string built-in type operations and
string-related built-in functions in Section 1.6, and Section 1.19.
As of Python 2.0, most functions in this module are also available as
methods of string objects (see Section 1.6.2 in Section 1.6 for more
details and a list of all available string methods). A
string module function call such as
arg) is generally now
also accessible as
appropriate, both call formats are listed.
Note that as of Python 2.2, much of the
module is available as object methods, but not all; constants and
some module functions are still available only in the
string module. Function entries with just one
listed call signature are not available as string methods. Similarly,
some string methods are not available in this module (see the string
type in Section 1.6).
Concatenation of the strings
Usually, the string
String of characters that are considered punctuation characters.
String containing space, tab, linefeed, ...