Do I have to quit python to load a module?

Carsten Haese carsten at uniqsys.com
Sat May 5 07:47:08 EDT 2007


On Sat, 2007-05-05 at 05:33 +0000, wang frank wrote:
> Hi,
> 
> When I edit a module, I have to quit python and then restart python and 
> then import the module. Are there any way to avoid quit python to load an 
> updated module? When I am debugging a module code, I need to constantly 
> make changes. It is not convenient to quit and reload.

This is a frequently asked question. See
http://www.python.org/doc/faq/ . The answer to your question is at
http://tinyurl.com/2qc7ev .

-Carsten





More information about the Python-list mailing list