Hi,

I guess you'd like to iterate over dictionary on template page.
Do you use webpy's template engine to generate output (default one)?
If so you could do as follow in your template:

$def with (dict)

$for key,value in dict.iteritems():
    $key=$value

Best Regards,
Sergei


-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to