Skip to content

Instantly share code, notes, and snippets.

View andreipit's full-sized avatar

andreipit

View GitHub Profile
@andreipit
andreipit / remove_output.py
Last active May 29, 2019 10:40 — forked from damianavila/remove_output.py
Fix of print function for python 3
"""
Usage: python remove_output.py notebook.ipynb [ > without_output.ipynb ]
Modified from remove_output by Minrk
"""
import sys
import io
import os
from IPython.nbformat.current import read, write