mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
8 lines
157 B
Python
8 lines
157 B
Python
|
from mako.template import Template
|
||
|
|
||
|
template = Template(filename='test.mako')
|
||
|
|
||
|
rendered_template = template.render(name='tea.xyz')
|
||
|
|
||
|
print(rendered_template)
|