Back to module index
Go to module by name
string
A collection of string constants.
Public module variables:
whitespace -- a string containing all ASCII whitespace
ascii_lowercase -- a string containing all ASCII lowercase letters
ascii_uppercase -- a string containing all ASCII uppercase letters
ascii_letters -- a string containing all ASCII letters
digits -- a string containing all ASCII decimal digits
hexdigits -- a string containing all ASCII hexadecimal digits
octdigits -- a string containing all ASCII octal digits
punctuation -- a string containing all ASCII punctuation characters
printable -- a string containing all ASCII characters considered printable
Classes
Formatter
check_unused_args(self, used_args, args, kwargs)
convert_field(self, value, conversion)
format(self, format_string, /, *args, **kwargs)
format_field(self, value, format_spec)
get_field(self, field_name, args, kwargs)
get_value(self, key, args, kwargs)
parse(self, format_string)
vformat(self, format_string, args, kwargs)
Template
A string class for supporting $-substitutions.
safe_substitute(self, mapping={}, /, **kws)
substitute(self, mapping={}, /, **kws)
braceidpattern = None
delimiter = '