ipython/ipython — pull request #3312 by JanSchulz (2013-05-12 14:43:37+00:00)
Title: Notebook save hooks

Post save hooks for notebooks, uses the notebook metadata to define a postsavehook. replaces the '--script' useage in the notebook server.

Workflow:
* Activate the extention via %reload_ext IPython.frontend.html.notebook.examples.saveasscript
* choose 'save as .py: enable'
* save notebook :-)

To check which cells will be written to the .py file choose 'Cell Toolbar: auto export hin' and change the setting for each cell.

Closes: #3295