Reloading a module

Gerhard Häring gh at ghaering.de
Wed May 28 03:37:29 EDT 2003


Cameron Zemek wrote:
> How can I reload a module in the python interactive shell (I'm using IDLE)?
> 
> That is when I have made changes to the python source file for it to be
> reloaded by the shell (either manually or automate; this is on windows
> python 2.2)

reload(modulename)

-- Gerhard






More information about the Python-list mailing list