Warning

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

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.