### Navigation

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

# nbformat.v1.rwbase

## Module: `nbformat.v1.rwbase`

Inheritance diagram for `IPython.nbformat.v1.rwbase`:

Base classes and function for readers and writers.

Authors:

- Brian Granger

## Classes

### `NotebookReader`

class `IPython.nbformat.v1.rwbase.``NotebookReader`

  Bases: `object`

  `__init__`()

    x.__init__(...) initializes x; see help(type(x)) for signature

  `read`(fp, **kwargs)

    Read a notebook from a file like object

  `reads`(s, **kwargs)

    Read a notebook from a string.

### `NotebookWriter`

class `IPython.nbformat.v1.rwbase.``NotebookWriter`

  Bases: `object`

  `__init__`()

    x.__init__(...) initializes x; see help(type(x)) for signature

  `write`(nb, fp, **kwargs)

    Write a notebook to a file like object

  `writes`(nb, **kwargs)

    Write a notebook to a string.

### Navigation

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