[Zope-dev] call pythonscript from python
Evan Simpson
evan@digicool.com
Wed, 21 Mar 2001 10:41:11 -0500
From: "Tim McLaughlin" <tim@BCSWebservices.net>
> Anybody know how I can call a pythonscript from python? Currently I can
> call it, but I seem to have no context or security context, because it
> either will not let me access anything or fail with an attribute error in
> the context. What are the params that I NEED to pass in so that it can do
> its bindings (and if you know how to get them automagically, that would be
> incredible)?
How does the Python code get executed (External Method? Product?) and how
does it get access to the Script? Calling a Script should indeed
automagically give it context from its acquisition wrapper.
Cheers,
Evan @ digicool