mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
c9ad22828c
* new file: projects/makotemplates.org/package.yml new file: projects/makotemplates.org/test.mako new file: projects/makotemplates.org/test.py * PYTHONPATH * PYTHONPATH * PYTHONPATH
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)
|