[Zope] Python calling python?

Paul Winkler pw_lists@slinkp.com
Mon, 3 Mar 2003 17:40:26 -0500


On Mon, Mar 03, 2003 at 10:22:12PM +0000, Michael Havard wrote:
> script to call the second script. As soon as I try to include that 
> functionality it falls apart. If I try to import I get 'not authorized'.

they're not modules anyway, so importing them could never work...

> If 
> I try to access it the same way I do ZSQL methods 'context.whatevername()' 
> I get "whatevername" not defined.

that should work. check your spelling, and that script1 can acquire script2.

-- 

Paul Winkler
http://www.slinkp.com