34 Python IDLE Keyboard Shortcuts

Learn Python IDLE Shortcuts for Windows

File Menu Shortcuts

ActionPython IDLE Shortcut keys
Create a new editing windowCtrl + N
Open an existing fileCtrl + O
Open moduleAlt + M
Show classes and methods in the current fileAlt + C
Save the current window to the associated fileCtrl + S
Save the current window to a new file, which becomes the associated fileCtrl + Shift + S
Save the current window to a different file without changing the associated fileAlt + Shift + S
Print windowCtrl + P
Close current windowAlt + F4
Close all windows and quit IDLE (asks to save if unsaved)Ctrl + Q

Edit Menu Shortcuts

ActionPython IDLE Shortcuts
Undo the last change to the current window (max 1000 changes)Ctrl + Z
Redo the last undone change to the current windowCtrl + Shift + Z
Copy selection into system-wide clipboard; then delete selectionCtrl + X
Copy selection into system-wide clipboardCtrl + C
Insert system-wide clipboard into windowCtrl + V
Select the entire contents of the edit bufferCtrl + A
Open a search dialog box with many optionsCtrl + F
Repeat the last searchCtrl + G
Find selectionCtrl + F3
Find in filesAlt + F3
Open a search dialog box for searching filesCtrl + H
Go to lineAlt + G
Show call tipCtrl + \
Show surrounding parentsCtrl + 0
Show completionsCtrl + Spacebar
BuildCtrl + B
Run the programF5

Other Python IDLE Shortcuts

ActionPython IDLE Shortcuts
Check moduleAlt + X
Comment regionAlt + 3
Uncomment regionAlt + 4
Tabify regionAlt + 5
Untabify regionAlt + 6
Toggle auto coloringCtrl + /
Toggle tabsAlt + T

READ NEXT:

Back to top button