[Zope3-dev] Re: Zope 3 Newsletter: Issue 10
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Sep 8 13:39:49 EDT 2003
On Monday 08 September 2003 12:04, Max M wrote:
> I assume that there will be no "print" statement in the Python blocks.
<evil grin> You can. All stdout output is converted as an insert. However, you
can turn this off in your specific Python Interpreter implementation (really
easy).
> But I think that each Python block needs it's own namespace, and some
> way to explicitly state wich variables are exported to the tal
> namespace, else it will quickly become a clutter of variable names that
> are mixed up in the template, and it can be hard to follow where each
> variable comes from.
Right, for this reason you have to specify the variables as being global.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-dev
mailing list