class openalea.oalab.shell.shellwidget.ShellWidget(interpreter=None, message='', log='', parent=None)[source]

Bases: IPython.qt.console.rich_ipython_widget.RichIPythonWidget, openalea.oalab.shell.streamredirection.GraphicalStreamRedirection

ShellWidget is an IPython shell.

add_to_history(*args, **kwargs)[source]

Send the last sent of history to the components that display history

get_interpreter()[source]
Returns:the interpreter object
initialize()[source]
push(var)[source]

Push variables in the namespace. :param var: dict of objects

read(*args, **kwargs)[source]
readline(size=None)[source]
write(txt)[source]

Write a text in the stdout of the shell and flush it. :param txt: String to write.

staticMetaObject = <PySide.QtCore.QMetaObject object at 0x2adeeec4e8c0>
openalea.oalab.shell.shellwidget.main()[source]

Previous topic

<no title>

Next topic

<no title>

This Page