IPython Documentation

Table Of Contents

Previous topic

Module: nbconvert.utils.pandoc

Next topic

Module: nbconvert.writers.debug

This Page


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

Module: nbconvert.writers.base

Contains writer base class.

1 Class

class IPython.nbconvert.writers.base.WriterBase(config=None, **kw)

Bases: IPython.nbconvert.utils.base.NbConvertBase

Consumes output from nbconvert export...() methods and writes to a useful location.

__init__(config=None, **kw)


write(output, resources, **kw)

Consume and write Jinja output.


output : string

Conversion results. This string contains the file contents of the converted file.

resources : dict

Resources created and filled by the nbconvert conversion process. Includes output from preprocessors, such as the extract figure preprocessor.