Skip to content

Instantly share code, notes, and snippets.

View gramster's full-sized avatar

Graham Wheeler gramster

View GitHub Profile
#!/usr/bin/env python
"""
simple example script for running and testing notebooks.
Usage: `ipnbdoctest.py foo.ipynb [bar.ipynb [...]]`
Each cell is submitted to the kernel, and the outputs are compared with those stored in the notebook.
"""
from __future__ import print_function