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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1525>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to