Recursive version of ‘reload’
I’ve run up against the same issue, and you inspired me to actually solve the problem. from types import ModuleType try: from importlib import reload # Python 3.4+ except ImportError: # Needed for Python 3.0-3.3; harmless in Python 2.7 where imp.reload is just an # alias for the builtin reload. from imp import reload def … Read more