IPython Documentation

Table Of Contents

Previous topic

nbformat.v1.nbjson

Next topic

nbformat.v2

This Page

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.