Python Forum
Python Forum
>
Python Coding
>
General Coding Help
> Reload module
Full Version:
Reload module
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
CoolSchoolBoy
Sep-18-2017, 02:01 AM
Is there a reload a module for Python 3. I changed my module and need to reload it. Is there a way this can be done?
Thanks!
snippsat
Sep-18-2017, 02:18 AM
UseĀ
importlib.reload(module)
.
metulburr
Sep-18-2017, 02:26 AM
https://python-forum.io/Thread-Basic-Modules-part-1
nilamo
Sep-28-2017, 08:31 PM
Restart the script?
Reloading a modified module seems like you're trying to do something you maybe shouldn't.
Python Forum
>
Python Coding
>
General Coding Help
> Reload module