Package PyFoam :: Package IPythonHelpers
[hide private]
[frames] | no frames]

Package IPythonHelpers

source code

IPython

Classes that help interacting with IPython

Submodules [hide private]

Functions [hide private]
 
create_code_cell(code='', where='below')
Create a code cell in the IPython Notebook.
source code
 
storage() source code
Variables [hide private]
  __package__ = 'PyFoam.IPythonHelpers'

Imports: Javascript, base64, bytes_to_str, display, str_to_bytes


Function Details [hide private]

create_code_cell(code='', where='below')

source code 
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