PyCharm 4.0.0 Web Help

This tab is marked with show-console and enables you to view the output and error stream messages. Optionally, it allows you to use the interactive command line console.

Console toolbar

Item Tooltip and shortcut Description
arrowUp arrowDown Up/down the Stack Trace
Ctrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpAlt ⌘ UpAlt ⌘ UpAlt ⌘ Up Ctrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownAlt ⌘ DownAlt ⌘ DownAlt ⌘ Down
Click this button to navigate up or down in the stack trace and have the cursor jump to the corresponding location in the source code.
icon_softWrap Use Soft Wraps Click this button to toggle the soft wrap mode of the output.
scrollToEnd.png Scroll to the end Click this button to navigate to the bottom of the stack trace and have the cursor jump to the corresponding location in the source code.
print Print Click this button to send the console text to the default printer.
clear_all Clear All Click this button to remove all text from the console. This function is also available on the context menu of the console.
3.4+icon_showCommandLine Show Python prompt If this button is pressed, you can enter commands in the console and view output.
Note that in the debug console, code completion is available:

py_interactive_debug_console

It's also possible to scroll through the history of commands with the up and down arrow keys.

This button is not available while debugging tests. Refer to the section Debug Tool Window. Interactive Console for details.

Context menu options

Item Description
Compare with Clipboard Opens the Clipboard vs Editor dialog box that allows you to view the differences between the selection from the editor and the current clipboard content. This dialog is a regular comparing tool that enables you to copy the line at caret to the clipboard, find text, navigate between differences and manage white spaces.
Fold Lines Like This Opens the Console Folding dialog that allows you to define which lines must be folded to hide extraneous information.
Create Gist Choose this command to open the Create Gist dialog box.
Clear All Clears the output window.

Keyboard shortcuts

The Ctrl+DCtrl+DCtrl+DCtrl+DCtrl+DCtrl+DCtrl+DCtrl+D⌘ D⌘ D⌘ D key combination allows you to send EOF (end of file), i.e. to signal that no more data can be read from a data source.

See Also

Concepts:

Procedures:

Reference:

Web Resources: