edit ✏️

autoreload your imports in ipython for ⚡ fast development

c.InteractiveShellApp.extensions = ['autoreload']
c.InteractiveShellApp.exec_lines = ['%autoreload 2']
c.InteractiveShellApp.exec_lines.append('print("Warning: disable autoreload in ipython_config.py to improve performance.")')
👆 add this to your ~/.ipython/profile_default/ipython_config.py.