Let&#39;s create an issue to track these efforts....<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Nov 18, 2012 at 3:15 AM, Fernando Perez <span dir="ltr">&lt;<a href="mailto:fperez.net@gmail.com" target="_blank">fperez.net@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi folks,<br>
<br>
Matthew just wrote up a notebook-diff tool.  Eventually we&#39;ll want<br>
this kind of capability nicely integrated into nbconvert, but in the<br>
meantime here it is:<br>
<br>
<a href="https://github.com/fperez/nipy-notebooks/blob/master/notebook_diff.py" target="_blank">https://github.com/fperez/nipy-notebooks/blob/master/notebook_diff.py</a><br>
<br>
Does crude unified diff on notebooks after stripping output and input<br>
line numbers.  You&#39;ve got to search through the text to see the bit to<br>
which the diff refers, but at least it gives an idea...<br>
<br>
Actually piping this through wdiff is particularly nice:<br>
<br>
./notebook_diff.py exploring_r_formula.ipynb jbs_r_formula.ipynb | wdiff -d -a<br>
<br>
<br>
Cheers,<br>
<br>
f<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Brian E. Granger<br>Cal Poly State University, San Luis Obispo<br><a href="mailto:bgranger@calpoly.edu" target="_blank">bgranger@calpoly.edu</a> and <a href="mailto:ellisonbg@gmail.com" target="_blank">ellisonbg@gmail.com</a><br>
<br>
</div>