I have this simply code:

p = Template("Hello: {{name}}")
dic['name'] = Oscar
p.render(dic)

But

I want to modify to do something like:

p.Template("Hello {%for key in dic, {{dic[key]}}%}")

Is it possible? Could I pass dic as whole for, for example, knowing
its length?

Thanks in advance,
Xan.

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to