[Zope] Accessing a dtml-let variable in a script (python)

Chris Withers chrisw@nipltd.com
Tue, 03 Sep 2002 14:56:21 +0100


Lea Smith wrote:
> Also thought it may have been accessed thru the
> namespace setting in the script, but could not work it
> out.

This is the way to go.
Go to the bindings tab, bind the namespace to _.

access your variable as:

myvar = _['variable_name']

cheers,

Chris