[Announce] autoreload.py

Thomas Heller thomas.heller at ion-tof.com
Mon Apr 17 15:11:46 EDT 2000


This is a module which automatically takes care of reloading
source modules into the running python interpreter from a background
thread when the source has changed.

An additional benefit is that top-level classes from the reloaded modules
are automatically updated to contain the new class dictionary.

The net-effect is that you can run a program in pythonwin (tested) or
IDLE (untested), change the instance methods, save the file
and automatically the running program uses the new methods.

Warning: This is only sighly tested, but it may be usefull.

Enjoy!

Thomas Heller
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: autoreload.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20000417/9c5307e7/attachment.ksh>


More information about the Python-list mailing list