PythonWin keyboard shortcuts 

PythonWin  

Zeynel -
4 years ago
- Shortcuts

Keyboard bindings in Pythonwin can be customized in default.cfg. This file has detailed comments, including how to create your own configuration based on the default. We listed the default keyboard shortcuts for Pythonwin below.

0
Alt + Q

Reformat the current paragraph/comment block. Note this does NOT reformat code correctly - use only within comment blocks!

0
Ctrl + W

Toggle view whitespace.

0
Alt + /

Expand the word at the cursor. Pressing the key again expands to the next match.

0
.

Auto expand the attribute. Eg, typing "string." will display a listbox with the contents of the string module. Select an item with Tab or the mouse.

1
Alt + I

Toggle focus to/from the interactive window.

Advertisement

0
Ctrl + Num +

Zoom-in for the current window. Non True-Type fonts may require multiple presses.

0
Ctrl + Num -

Zoom-out for the current window. Non True-Type fonts may require multiple presses.

0
Ctrl + Backspace

Delete the word to the left of the cursor.

0
Ctrl + Z

Undo

0
Ctrl + Y

Redo

0
Ctrl + X

Cut

0
Ctrl + C

Copy

1
Ctrl + V

Paste

0
Ctrl + A

Select All

0
Ctrl + ↑  Shift + L

Delete the current line

0
Ctrl + T

Transpose (swap) the current line with the line above

0
Ctrl + U

Convert the selection to lower case

1
Ctrl + ↑  Shift + U

Convert the selection to upper case

0
F2

Move to the next bookmark.

0
Ctrl + F2

Add or remove a bookmark on the current line.

0
Ctrl + G

Prompt for and goto a specific line number.

0
Alt + B

Adds a simple comment banner at the current location.

0
Alt + 3

Block comment the selected region.

0
↑  Shift + Alt + 3

Uncomment the selected region.

0
Alt + 4

Uncomment the selected region (IDLE default keystroke)

0
Alt + 5

Tabify the selected region.

0
Alt + 6

Untabify the selected region.

0
Backspace

Remove selected region or one character or indent to the left.

0
Ctrl + T

Toggle the use of tabs for the current file (after confirmation)

0
Alt + U

Change the indent width for the current file.

0
⤶ Enter

Insert a newline and indent.

0
Tab

Insert an indent, perform a block indent if a selection exists, or accept an attribute selection.

0
↑  Shift + Tab

Block dedent the selection.

0
F6

Toggle view when editor splitter is open.

0
Num +

If the current line is a collapsed fold, expand it (see Folding)

0
Alt + Num +

Expand all folds in the current file (see Folding )

0
Num -

If the current line is an expanded fold, collapse it (see Folding)

0
Alt + Num -

Collapse all folds in the current file. regardless of how deep the fold becomes. (see Folding)

0
Num *

Expand or collapse all top-level folds in the current file. No second level or deeper folds are changed. If the first fold in the file is collapsed, all top-level folds are opened. Otherwise, all top-level folds are collapsed (see Folding)

0
F9

Toggle breakpoint

0
F5

Run (ie, go)

0
↑  Shift + F5

Stop debugging

0
F11

Single step into functions

0
F10

Step over functions

0
↑  Shift + F11

Step out of the current function

0
Ctrl +

Recall the previous command in the history list

0
Ctrl +

Recall the next command in the history list


Share this page on:
Is this page helpful?
0 0

Program information

Program name: PythonWin PythonWin (Developer tools)

PythonWin is an interactive development environment (IDE) that is part of the Python for Windows extensions. It provides simple interface for editing and running Python programs in Windows.

Web page: wiki.python.org/moin/PythonWin

How easy to press shortcuts: 76%

More information >>

Updated: Updated program information. (2 updates.) 10/20/2020 12:04:27 PM New program added.
10/20/2020 12:09:13 PM Updated program information.

Shortcut count: 47

Platform detected: Windows or Linux

Similar programs



User operations

Add PythonWin to your list of favorites

Advertisement


What is your favorite PythonWin hotkey? Do you have any useful tips for it? Let other users know below.


Only registered users can post links.
 
No comments yet. Ask, or type the first one!