[ZPT] Namespaces and calling PythonScript from ZPT

Chris Withers chrisw@nipltd.com
Mon, 04 Mar 2002 20:27:19 +0000


Hi,

If have something like:

<td tal:define="mything some_script_or_something"
    tal:content="here/myPythonScript">
</td>

...how can I get hold of mything inside myPythonScript other than doing the horrible
nasty:

<td tal:define="mything some_script_or_something"
    tal:content="python: here.myPythonScript(mything=mything)">
</td>

cheers,

Chris