I think reload should be preceded by import. Example: Online code modification: upon modifying and saving mytest.py issue on the interactive shell: >>>import mytest >>>reload(mytest)
The shell should respond with "<module 'mytest' from '/root/mytest.py'>" (NOT:mytest.pyc) Note that modules importing mytest should not use 'import * from mytest' but 'import mytest'; This requires qualifying all objects as mytest.obj -- http://mail.python.org/mailman/listinfo/python-list