IPython Documentation

Table Of Contents

Previous topic

Module: nbformat.v1.convert

Next topic

Module: nbformat.v1.nbjson

This Page

Note

This documentation is for a development version of IPython. There may be significant differences from the latest stable release.

Module: nbformat.v1.nbbase

The basic dict based notebook format.

Authors:

  • Brian Granger

1 Class

class IPython.nbformat.v1.nbbase.NotebookNode(*args, **kw)

Bases: IPython.utils.ipstruct.Struct

4 Functions

IPython.nbformat.v1.nbbase.from_dict(d)
IPython.nbformat.v1.nbbase.new_code_cell(code=None, prompt_number=None)

Create a new code cell with input and output

IPython.nbformat.v1.nbbase.new_text_cell(text=None)

Create a new text cell.

IPython.nbformat.v1.nbbase.new_notebook(cells=None)

Create a notebook by name, id and a list of worksheets.