Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reload module
#1
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!
Reply
#2
UseĀ importlib.reload(module).
Reply
#3
https://python-forum.io/Thread-Basic-Modules-part-1
Recommended Tutorials:
Reply
#4
Restart the script?

Reloading a modified module seems like you're trying to do something you maybe shouldn't.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Python3 - serial port reload parovelb 4 5,854 Apr-08-2021, 09:18 AM
Last Post: parovelb

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020