IPython Documentation

Table Of Contents

Previous topic

Module: nbformat.v2

Next topic

Module: nbformat.v2.nbbase

This Page


This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: nbformat.v2.convert

Code for converting notebooks to and from the v2 format.


  • Brian Granger

1 Function

IPython.nbformat.v2.convert.convert_to_this_nbformat(nb, orig_version=1)

Convert a notebook to the v2 format.


nb : NotebookNode

The Python representation of the notebook to convert.

orig_version : int

The original version of the notebook to convert.