How do I repeat the last command? The usual keys: Up, Ctrl+Up, Alt-p don\'t work. They produce nonsensical characters.
(ve)[kakarukeys@localhost ve]$ python
If using MacOSX, press control p
to cycle up and control n
to cycle down. I am using IDLE Python 3.4.1 Shell.
Alt + p for previous command from histroy, Alt + n for next command from history.
This is default configure, and you can change these key shortcut at your preference from Options -> Configure IDLE.