[IPython-dev] Notebook diffing tool by Matthew

Fernando Perez fperez.net at gmail.com
Sun Nov 18 06:15:34 EST 2012

Hi folks,

Matthew just wrote up a notebook-diff tool.  Eventually we'll want
this kind of capability nicely integrated into nbconvert, but in the
meantime here it is:


Does crude unified diff on notebooks after stripping output and input
line numbers.  You've got to search through the text to see the bit to
which the diff refers, but at least it gives an idea...

Actually piping this through wdiff is particularly nice:

./notebook_diff.py exploring_r_formula.ipynb jbs_r_formula.ipynb | wdiff -d -a



More information about the IPython-dev mailing list