Skip to content

Instantly share code, notes, and snippets.

View ankostis's full-sized avatar
🦉
On paternity leave

Kostis Anagnostopoulos ankostis

🦉
On paternity leave
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ankostis
ankostis / ipnbdoctest.py
Last active April 14, 2016 18:08 — forked from minrk/ipnbdoctest.py
simple example script for running and testing notebooks in py3
"""
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.
- Found in this SO: http://stackoverflow.com/a/20483736/548792
- Copied from https://gist.github.com/fdeheeger/e79fac57e80f8aaa63cc
- Attempt to make it run under py3.4+.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"metadata": {
"name": "",
"signature": "sha256:7d2e6d8d12fd7ead839ff65fc6f985a0822963ac03f6462cf56e4d511cd2abab"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"metadata": {
"name": "",
"signature": "sha256:1481f505ff2b2f578947eab1ba5a1c37220e8881811822190ee81724e606aa8c"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "EngineMap-haus"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{