nbdime - differ between current and checkpointed version of notebook

43 views
Skip to first unread message

Tony Hirst

unread,
Jan 9, 2017, 7:47:10 PM1/9/17
to Project Jupyter
Hi

Is there a way of using nbdime in association with checkpoints? Eg can I manually save a copy of the notebook then compare the current version with a checkpointed version using nbdime?

--tony

PS is there user guide info anywhere about how autosave,  manula save, checkpointing etc works (and extent to which is is customisable)?

Vidar Tonaas Fauske

unread,
Jan 10, 2017, 8:26:20 AM1/10/17
to jup...@googlegroups.com
Not overly familiar with how checkpoints work, but as far as I
understand it, by default they are saved in a folder
".ipynb_checkpoints" next to the notebook. If you diff these with the
"normal" notebook you should get what you want:

nbdiff[-web] mynotebook.ipynb .ipynb_checkpoints/mynotebook-checkpoint.ipynb

Hope that helps!

- Vidar
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+u...@googlegroups.com.
> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/ad8565a1-c06d-418b-a9d5-3e66abd6945c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages