[Zope] Passing a parameter from a TAL statement to a python script

Chris Withers chrisw@nipltd.com
Tue, 12 Feb 2002 12:37:08 +0000


Tom Nixon wrote:
> 
> Hi
> 
> I am using a python script to return some data from a TAL statement. How
> do I pass a parameter to the script, and how does the python script read
> it in?
> 
> <span tal:content="structure here/myScript.py"></span>

<span tal:content="structure python:here['myScript.py'](your_param=1)"></span>

cheers,

Chris