[Zope-dev] python scripts and variables

Jens Quade jq@jquade.de
05 Mar 2002 14:30:29 +0100


Sebastian Sippl <sebastian@proceryon.at> writes:

> I am starting a python script within a python script.

like, context.script2(parameters,...)?

> how do i pass the variables from one to the other?

Use the parameter list.

> container.py2  <----Second python script should get values by the
> request variable
> 

This way, the script isn't even called - to call a 
method in python you have to use () after it, optionally
filled with parameters.

But you should be able to pass parameters around using 
the request, too. Just call your method in the context.

jens