Hotkeys and shortcuts for Python IDLE for Windows

(Total 35)

Ctrl + N
File menu
Create a new editing window
Ctrl + O
File menu
Open an existing file
Alt + M
File menu
Open module
Alt + C
File menu
Show classes and methods in current file
Ctrl + S
File menu
Save current window to the associated file
Ctrl + ↑   Shift + S
File menu
Save current window to a new file, which becomes the associated file
Alt + ↑   Shift + S
File menu
Save current window to different file without changing the associated file
Ctrl + P
File menu
Print window
Alt + F4
File menu
Close current window
Ctrl + Q
File menu
Close all windows and quit IDLE (asks to save if unsaved)
Ctrl + Z
Edit menu
Undo last change to current window (max 1000 changes)
Ctrl + ↑   Shift + Z
Edit menu
Redo last undone change to current window
Ctrl + X
Edit menu
Copy selection into system-wide clipboard; then delete selection
Ctrl + C
Edit menu
Copy selection into system-wide clipboard
Ctrl + V
Edit menu
Insert system-wide clipboard into window
Ctrl + A
Edit menu
Select the entire contents of the edit buffer
Ctrl + F
Edit menu
Open a search dialog box with many options
Ctrl + G
Edit menu
Repeat last search
Ctrl + F3
Edit menu
Find selection
Alt + F3
Edit menu
Find in files
Ctrl + H
Edit menu
Open a search dialog box for searching files
Alt + G
Edit menu
Go to line
Ctrl + \
Edit menu
Show call tip
Ctrl + 0
Edit menu
Show surrounding parents
Ctrl + Space
Edit menu
Show completions
Ctrl + B
Edit menu
Build
Ctrl + ↑   Shift + F10
Edit menu
Build
F5
Edit menu
Run the program
Alt + X
Miscellaneous
Check module
Alt + 3
Miscellaneous
Comment region
Alt + 4
Miscellaneous
Uncomment region
Alt + 5
Miscellaneous
Tabify region
Alt + 6
Miscellaneous
Untabify region
Ctrl + /
Miscellaneous
Toggle auto coloring
Alt + T
Miscellaneous
Toggle tabs