IPython Documentation

Table Of Contents

Previous topic

nbformat.v2.nbpy

Next topic

nbformat.v2.rwbase

This Page

nbformat.v2.nbxml

Module: nbformat.v2.nbxml

Inheritance diagram for IPython.nbformat.v2.nbxml:

Read and write notebook files as XML.

Authors:

  • Brian Granger

XMLReader

class IPython.nbformat.v2.nbxml.XMLReader

Bases: IPython.nbformat.v2.rwbase.NotebookReader

__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)
to_notebook(root, **kwargs)
IPython.nbformat.v2.nbxml.indent(elem, level=0)