ID EN
String

Template

Python 3.11

The constructor takes a single argument which is the template string.

Syntax

PYTHON
class string.Template(template)

See Also

substitute() KeyError substitute() ValueError safe_substitute() substitute() ValueError Template