Module: nbconvert.preprocessors.coalescestreams — IPython 2.3.1 documentation

### Navigation

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

# Module: `nbconvert.preprocessors.coalescestreams`

Preprocessor for merging consecutive stream outputs for easier handling.

## 2 Functions

`IPython.nbconvert.preprocessors.coalescestreams.` `cell_preprocessor`(function)

  Wrap a function to be executed on all cells of a notebook

  The wrapped function should have these parameters:

  cell : NotebookNode cell
    Notebook cell being processed
  resources : dictionary
    Additional resources used in the conversion process. Allows preprocessors to pass variables into the Jinja engine.
  index : int
    Index of the cell being processed

`IPython.nbconvert.preprocessors.coalescestreams.` `coalesce_streams`(nb, resources)

### Navigation

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