return values from scripts

Mike Burnett mnb at ornl.gov
Tue Apr 17 13:50:59 EDT 2001


While running a script in the python interpreter, I need to run a second
script from the first, passing some values to the second.  I know I can
do this with: execfile('second.py',locals()).  Is there any way to get
back into the original script one value (a return status) from the
second script?  Is there any way to get several parameter values back?

Mike Burnett
burnettmn at ornl.gov




More information about the Python-list mailing list