Skip to content

Instantly share code, notes, and snippets.

@shoyer
shoyer / ipnbdoctest.py
Last active December 28, 2015 11:59 — forked from minrk/ipnbdoctest.py
#!/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.
"""
import os,sys,time