Vote count:
0
How do i pass a lot of values to my template?
Documentation taken straight from the Mako Website:
from mako.template import Template
mytemplate = Template("hello, ${name}!")
print mytemplate.render(name="jack")
This solution works fine for like under 10 but i want to use up to 40 Variables.
Thank you!
asked 40 secs ago
Aucun commentaire:
Enregistrer un commentaire