[ZPT] call a script

Bob Gailer bgailer at alum.rpi.edu
Thu Sep 25 11:53:39 EDT 2003


At 09:12 AM 9/25/2003, Fred L. Drake, Jr. wrote:


>Bob Gailer writes:
>  > Can I use python: to call a script? I tried
>  >
>  > tal:repeat="n python:container/get"
>  >
>  > and get the error "global name get is not defined"
>
>It looks like you're using a path expression rather than a Python
>expression.  Try:
>
>     tal:repeat="n container/get"

Yes that works, but how do I pass parameters?

Bob Gailer
bgailer at alum.rpi.edu
303 442 2625
-------------- next part --------------

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.506 / Virus Database: 303 - Release Date: 8/1/2003


More information about the ZPT mailing list