17 IPython Shell Keyboard Shortcuts

Learn IPython Shell Shortcuts for Windows

Navigation Shortcuts

ActionIPython Shell Shortcut keys
Move the cursor to the beginning of the lineCtrl + A
Move the cursor to the end of the lineCtrl + E
Move the cursor back one characterCtrl + B
Move the cursor forward one characterCtrl + F

Text entry Shortcuts

ActionIPython Shell Shortcuts
Delete the previous character in the lineBackspace
Delete the next character in the lineCtrl + D
Cut text from cursor to end of lineCtrl + K
Cut text from the beginning of the line to the cursorCtrl + U
Yank (e.g. paste) text that was previously cutCtrl + Y
Transpose (e.g. switch) previous two charactersCtrl + T

Command history Shortcuts

ActionIPython Shell Shortcut keys
Access previous command in historyCtrl + P
Access the next command in the historyCtrl + N
Reverse-search through command historyCtrl + R
Select the commandEnter

Miscellaneous Shortcuts

ActionIPython Shell Shortcut keys
Clear terminal screenCtrl + 1
Interrupt current Python commandCtrl + C
Exit IPython sessionCtrl + D

READ NEXT:

Back to top button