Reputation: 1794
I am using IDLE 3 in windows . My question is simply , is there any way we can get the last thing entered by pressing the up arrow key ( like in case of ipython ) .
It is very problematic to copy the last command and again to paste it !
Upvotes: 0
Views: 931
Reputation: 699
Check IDLE key preferences. For Mac it is CTRL+P. look for history-previous key mapping
Upvotes: 2
Reputation: 33379
Alt+P to go up
Alt+N to go down.
If you don't like this binding, you could remap it:
Options -> Configure IDLE -> Keys
Upvotes: 3