[issue1525] Executing Python script using subprocess.Popen twice interactively fails without error the second time

Amaury Forgeot d'Arc report at bugs.python.org
Fri Nov 30 12:11:09 CET 2007


Amaury Forgeot d'Arc added the comment:

Top-level statements are executed only the first time the module is
imported:
http://docs.python.org/tut/node8.html#moreModules
To execute a script from python, you should consider the execfile()
function instead.

----------
nosy: +amaury.forgeotdarc
resolution:  -> invalid
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1525>
__________________________________


More information about the Python-bugs-list mailing list