[Zope] Using the Namespace binding

Lee Shakespeare lee@webfoundry.co.uk
Tue, 05 Jun 2001 15:08:17 +0100


Hi Folks.

Can some explain to me how I access DTML vars from a called python
script?  From what I've gleamed from the Zope book, I can set the
Namespace binding for the script to expose the DTML namespace, but I'm
having problems accessing it.  

I've tried _.varname, which gave me an attribute error and _varname is
an illegal variable name.  

The variable is accessible from the calling DTML method via dtml-var

Cheers.   
 Lee.


-- 
Lee Shakespeare   :   lee at webfoundry dot co dot uk