[Zope] Namespace for PythonScript

Hong Yuan hongyuan at homemaster.cn
Thu May 26 12:07:20 EDT 2005


Hello,

If a PythonScript is called from a Page Template, how can it access the 
variables defined using:
   <tal:define="global ..." />
in the calling script?

Of course, one can pass the variables to the PythonScript explicitly as 
parameters, but is there any other way to let the PythonScript to easily 
access the name space of its calling page template?

Hong Yuan


More information about the Zope mailing list