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(*args, **kwargs)[source]

Bases: Unimplemented

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.

extension_registry = <traits.traits.ForwardProperty object>
id = 'envisage.plugins.python_shell_view'
lookup(name)[source]

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

name = 'Python'
names = <traits.trait_factory.TraitFactory object>
namespace = <traits.traits.ForwardProperty object>
original_stdout

alias of Any

position = 'bottom'
stdout_text

alias of Event