PyFoam.IPythonHelpers package

Module contents

IPython

Classes that help interacting with IPython

PyFoam.IPythonHelpers.create_code_cell(code='', where='below')[source]

Create a code cell in the IPython Notebook.

Found at https://github.com/ipython/ipython/issues/4983

Parameters code: unicode

Code to fill the new code cell with.
where: unicode

Where to add the new code cell. Possible values include:

at_bottom above below
PyFoam.IPythonHelpers.storage()[source]