pantry/projects/makotemplates.org/test.py

8 lines
157 B
Python
Raw Normal View History

from mako.template import Template
template = Template(filename='test.mako')
rendered_template = template.render(name='tea.xyz')
print(rendered_template)