Movatterモバイル変換


[0]ホーム

URL:


return values from scripts

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


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


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp