### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# Module: `nbformat.v3.convert`

Code for converting notebooks to and from the v2 format.

Authors:

- Brian Granger

## 1 Function

`IPython.nbformat.v3.convert.``convert_to_this_nbformat`(nb, orig_version=2, orig_minor=0)

  Convert a notebook to the v3 format.

  Parameters : | nb : NotebookNode The Python representation of the notebook to convert. orig_version : int The original version of the notebook to convert. orig_minor : int The original minor version of the notebook to convert (only relevant for v >= 3).

### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »