reloading modules

Joseph Krauze jkrauze at
Wed Dec 3 18:18:07 CET 2003

Assume a main python file that does the following:

from lib_mod import performAction
def main():
	return performAction("myFile")

Now, if I modify and just try to reload, lib_mod is not
updated.  I have searched online and came upon a few tinkers but nothing
that seemed to be blessed by  Is there a feature or an
official modification that I'm missing?

Otherwise, I'll probably always do a try on a reload at the top of
but that does not seem too robust to me.

I am using 2.3.2 on CLI.


More information about the Python-list mailing list