PyDocs

Nav

Text Processing Services

Template

Template object
Members of Template

_

__new__
Create and return a new object.

i

interpolations
Interpolations

s

strings
Strings

v

values
Values of interpolations
1 Example
>>> cheese = 'Red Leicester'
>>> template = t"We're fresh out of {cheese}, sir."
>>> type(template)
<class 'string.templatelib.Template'>
from the Python docs
See Also
No see-alsos for string.templatelib/Template
0 Notes
No notes for Template