[ZPT] call a script

Fred L. Drake, Jr. fred at zope.com
Thu Sep 25 12:01:09 EDT 2003


Bob Gailer writes:
 > Yes that works, but how do I pass parameters?

I'd missed the version of the question that specified you needed to
pass parameters.  The other response I say showed the right way to do
this, using a Python expression:

    tal:repeat="n python:container.get(1)"

The use of the traversal syntax, container/get, is part of path
expressions, not Python expressions.

Sorry for the confusion.


  -Fred

-- 
Fred L. Drake, Jr.  <fred at zope.com>
PythonLabs at Zope Corporation



More information about the ZPT mailing list