envisage.plugins.python_shell.i_python_shell module
A simple interface for the Python shell.
-
class envisage.plugins.python_shell.i_python_shell.IPythonShell(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]
Bases: 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.