IPython Documentation

Table Of Contents

Previous topic

Module: nbformat.v1.nbjson

Next topic

Module: nbformat.v2

This Page

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.