Skip to content

Instantly share code, notes, and snippets.

@amarczew
Created November 14, 2017 19:45
Show Gist options
  • Save amarczew/b8c5671ca8a4f226a8143707ff481d38 to your computer and use it in GitHub Desktop.
Save amarczew/b8c5671ca8a4f226a8143707ff481d38 to your computer and use it in GitHub Desktop.
ipython - autoreload modules
ipython profile create
vim ~/.ipython/profile_default/ipython_config.py
# changes
c.InteractiveShellApp.extensions = ['autoreload']
c.InteractiveShellApp.exec_lines = ['%load_ext autoreload', '%autoreload 2']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment