howto reload Python module?

2007-09-02 Thread dmitrey
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. -- http://mail.python.org/mailman/listinfo/python-list

Re: howto reload Python module?

2007-09-02 Thread Diez B. Roggisch
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

Re: howto reload Python module?

2007-09-02 Thread Steven D'Aprano
On Sun, 02 Sep 2007 13:28:26 -0700, dmitrey wrote: 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. You're