Warning

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

Module: nbformat.v1.rwbase

Base classes and function for readers and writers.

Authors:

  • Brian Granger

2 Classes

class IPython.nbformat.v1.rwbase.NotebookReader

Bases: object

read(fp, **kwargs)

Read a notebook from a file like object

reads(s, **kwargs)

Read a notebook from a string.

class IPython.nbformat.v1.rwbase.NotebookWriter

Bases: object

write(nb, fp, **kwargs)

Write a notebook to a file like object

writes(nb, **kwargs)

Write a notebook to a string.