[Zope] python variables rendered by dtml

jwsacksteder@ramprecision.com jwsacksteder@ramprecision.com
Tue, 4 Mar 2003 17:08:51 -0500


This is going to sound convoluted, but trust me, it's this way on purpose.

I have a python script that gets a result back from an unparameterized zsql
query like this-

foo = container.get_stuff_sql()

I then make some alterations to 'foo' in my script which I will leave out
for clarity.

I then want to render 'foo' from a dtml method with a dtml-in clause. What
is to best way to pass 'foo' into the dtml method? 

(I'm having internet problems and I can't get to Zope labs right now, or I'd
look it up myself.)