abkds
abkds

Reputation: 1794

Showing last command in IDLE

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

Answers (2)

Nu2Overflow
Nu2Overflow

Reputation: 699

Check IDLE key preferences. For Mac it is CTRL+P. look for history-previous key mapping

Upvotes: 2

Mingyu
Mingyu

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

Related Questions