Python View

The Python view contains an interactive Python interpreter.

Drag and Drop

You can drag and drop an object from elsewhere in the application (for example, a node from a navigation tree) onto the Python view to create a reference to the object in the interpreter.

Auto-completion

When you type a variable name followed by a period ("."), the Python interpreter pops up a list of all available attributes (including methods) on the object referenced by the variable.

As you type letters of the attribute name, the matching name is selected in the list. Press Enter to fill in the selected name in the current command.

You can also select a name to be filled in by double-clicking it with the mouse.

Key Bindings

Key Combination

Action

Home

Go to the beginning of the command or line.

End

Go to the end of the line.

Shift+Home

Select from the cursor to the beginning of the command or line.

Shift+End

Select from the cursor to the end of the line.

Ctrl+C

Copy selected text, removing prompts.

Ctrl+Shift+C

Copy selected text, retaining prompts.

Ctrl+V

Paste from clipboard.

Ctrl+Shift+V

Paste and run multiple commands from clipboard.

Ctrl+Up Arrow, Alt+P

Retrieve previous history item.

Ctrl+Down Arrow, Alt+N

Retrieve next history item.

Shift+Up Arrow

Insert previous history item.

Shift+Down Arrow

Insert next history item.

F8

Command-completion of history item. (Type a few characters of a previous command and press F8.)

Ctrl+Enter

Insert new line into multiline command.

Ctrl+]

Increase font size.

Ctrl+[

Decrease font size.

Ctrl+=

Default font size.