Reloading submodules in IPython

  • From here
  • Edit the ~/.ipython/profile_default/ipython_config.py file, and add:
c = get_config()
c.InteractiveShellApp.extensions = ['autoreload']
c.InteractiveShellApp.exec_lines = ['%autoreload 2']