Skip to content

Instantly share code, notes, and snippets.

@justdoit0823
Created October 8, 2018 08:26
Show Gist options
  • Save justdoit0823/1c5f830aa93c9a0dffd5e6c0bf2bd551 to your computer and use it in GitHub Desktop.
Save justdoit0823/1c5f830aa93c9a0dffd5e6c0bf2bd551 to your computer and use it in GitHub Desktop.
iPython enable autoreload configuration.
  • create ipython profile
ipython profile create default
  • edit profile
## lines of code to run at IPython startup.
c.InteractiveShellApp.exec_lines = ['%autoreload 2']

## A list of dotted module names of IPython extensions to load.
c.InteractiveShellApp.extensions = ['autoreload']

done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment