Turn Off Autosave in IPython Notebook

If you add this to your custom.js, it will disable autosave for all notebooks:

$([IPython.events]).on("notebook_loaded.Notebook", function () {
  IPython.notebook.set_autosave_interval(0);
});

custom.js is found at $(ipython locate profile)/static/custom/custom.js. You can use the same thing to increase or decrease the autosave interval. The value is in milliseconds, so an interval of 30000 means autosave every thirty seconds.


This will disable autosave once you're in IPython Notebook in the browser: %autosave 0.

Update: There is now a UI feature in JupyterLab: https://github.com/jupyterlab/jupyterlab/pull/3734