Module: nbformat.v1.nbbase — IPython 2.3.1 documentation

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# 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.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »