Debugging Modules/Packages
Brian Olsen
brian0891 at yahoo.com
Thu Mar 27 21:08:33 EST 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.
Brian
More information about the Python-list
mailing list