envisage.plugins.python_shell.view.python_shell_view module

A view containing an interactive Python shell.

class envisage.plugins.python_shell.view.python_shell_view.PseudoFile(write)[source]

Bases: object

Simulates a normal File object.

flush()[source]
isatty()[source]
readline()[source]
writelines(lines)[source]
class envisage.plugins.python_shell.view.python_shell_view.PythonShellView[source]

Bases: View

A view containing an interactive Python shell.

bind(name, value)[source]

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

create_control(parent)[source]

Creates the toolkit-specific control that represents the view.

destroy_control()[source]

Destroys the toolkit-specific control that represents the view.

execute_command(command, hidden=True)[source]

Execute a command in the interpreter.

execute_file(path, hidden=True)[source]

Execute a command in the interpreter.

lookup(name)[source]

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