envisage.plugins.python_shell.i_python_shell module

A simple interface for the Python shell.

class envisage.plugins.python_shell.i_python_shell.IPythonShell[source]

Bases: traits.has_traits.Interface

A simple interface for the Python shell.

bind(name, value)[source]

Binds a name to a value in the interpreter’s namespace.

execute_command(command, hidden=True)[source]

Execute a command in the interpreter.

execute_file(path, hidden=True)[source]

Execute a file in the interpreter.

lookup(name)[source]

Returns the value bound to a name in the interpreter’s namespace.