The `string.Template.__init__` method is used to initialize a new instance of the `string.Template` class in Python. It takes no parameters and sets the initial state of the template object. The object created by `__init__` can then be used to substitute placeholders in a given template string with specified values. This method is typically called indirectly when creating a new instance of `string.Template` using the class constructor.
Python Template.__init__ - 16 examples found. These are the top rated real world Python examples of string.Template.__init__ extracted from open source projects. You can rate examples to help us improve the quality of examples.