How do I access the command history from IDLE? How do I access the command history from IDLE? python python

How do I access the command history from IDLE?


  • I think you are looking for the history-previous action, which isbound to Alt+P by default.
  • You can remap it in "Options -> Configure IDLE -> Keys"
  • You can also access this command from the top menu in IDLE: "Shell -> Previous History"

Incidentally, why don't you try a better (less ugly, for starters) shell like bpython or ipython?


just use Alt+P to go up. Similarly, Alt+N could be used to go down.


If you're on mac, it's ctrl+p.