Reload modules?

dsavitsk dsavitsk at ecpsoftware.com
Thu Jan 9 02:19:25 EST 2003


Afanasiy wrote:
> The main python script I execute from my python-embedded application
> imports some modules. In order for my application to recognize changes
> to those python scripted modules, I must restart it. However, changes to
> the main script itself are recognized without restarting my application.
> 
> Can I force a reload of modules while the application is running?

look at the reload function.





More information about the Python-list mailing list