A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/092766.html below:

return values from scripts

return values from scripts return values from scriptsMike 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4