Debugging Modules/Packages

Brian Olsen brian0891 at
Fri Mar 28 03:08:33 CET 2003

> What you are looking for is the builtin function reload().
> Either that, or you want to dynamically rebind the names in
> the module to new functions or other objects created on the fly.
> Kind of depends if you are trying to update the running system
> with code whose *source* you have changed (use reload()) or 
> with other changes made programmatically to the modules as the
> program runs (avoid reload()).

Thanks. I'm going to dig into this more. 


More information about the Python-list mailing list