howto reload Python module?

Diez B. Roggisch deets at nospam.web.de
Sun Sep 2 17:12:17 EDT 2007


dmitrey schrieb:
> my Python module was changed in HDD (hardware disk drive), moreover,
> changed its location (but still present in sys.path).
> how can I reload a func "myfunc"  from the module? (or howto reload
> whole module)?
> Thank you in advance, D.

By using *drumroll* the reload function!

diez



More information about the Python-list mailing list