7 Aug
2003
7 Aug
'03
10:50 p.m.
On Thu, 2003-08-07 at 15:24, Ben Bush wrote:
I would like to use dtml-in to iterate through some results in a python script. I am not sure what format I need to put the results into in my python script to be able to reference them in the <dtml-in> tags. I am currently trying to return a dictionary but that does not seem to work.
You can't iterate over a dictionary... at least, not yet. :-) Instead, have the script return a *list* of items to iterate over. That should do the trick. HTH, Dylan