pyface.tasks.contrib.python_shell module

Module defining a simple Python shell task.

This task provides a view with a simple Python shell. This shouldn’t be confused with a more full-featured shell, such as those provided by IPython.

class pyface.tasks.contrib.python_shell.PythonShellPane[source]

Bases: TaskPane

A Tasks Pane containing a Pyface PythonShell

create(parent)[source]

Create the python shell task pane

This wraps the standard pyface PythonShell

destroy()[source]

Destroy the python shell task pane

class pyface.tasks.contrib.python_shell.PythonShellTask[source]

Bases: Task

A task which provides a simple Python Shell to the user.

create_central_pane()[source]

Create a view pane with a Python shell

open()[source]

Shows a dialog to open a file.