You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
davidbrai edited this page Mar 23, 2013
·
4 revisions
Notebook utilities
Here are some useful utilities which currently exist as gists, but which could benefit from be wrapped up and folded into IPython commnadline tools, such as nbconvert.
https://gist.github.com/timo/2621679 - For each ipynb file, a kernel is started, all cells are executed in order and exceptions occuring in the cells will show up as failed tests.
https://gist.github.com/minrk/2620735 - simple example script for running and testing notebooks. Each cell is submitted to the kernel, and the outputs are compared with those stored in the notebook.
https://gist.github.com/minrk/3836889 - selectively replacing code cells based on their contents. Example: cells which start off with "# Solution" get replaced with "# Solution goes here"