Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for How do I unload (reload) a Python module?

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
Aug 28, 2025 at 13:10 comment added Sam Liddicott I had to stop some weird recursion with: if (type(submod).__name__ == 'module') and (submod.__package__.startswith(module.__name__) and not (submod.__package__ == module.__name__))}
S May 21, 2021 at 12:01 history suggested David Ghandehari CC BY-SA 4.0
Add `EnumMeta` import and `_readonly_attrs` definition to revised answer
May 21, 2021 at 3:35 review Suggested edits
S May 21, 2021 at 12:01
Jun 20, 2020 at 9:12 history edited Community Bot
Commonmark migration
May 6, 2020 at 10:00 history edited EZLearner CC BY-SA 4.0
added 4560 characters in body
May 5, 2020 at 16:22 history edited EZLearner CC BY-SA 4.0
added 259 characters in body
May 5, 2020 at 15:54 history edited EZLearner CC BY-SA 4.0
added 92 characters in body
May 5, 2020 at 15:44 history answered EZLearner CC BY-SA 4.0

AltStyle によって変換されたページ (->オリジナル) /