0
Repeat last command entered in python IDLE instead of copying it
Hi when in IDLE, having a command line e.g. print("abc") and you want to repeat it at next prompt line, how can you do it? Is there a similar function key like F3 when you are at running CMD.EXE in windows? I tried up arrow, but it doesn' t work.
1 Odpowiedź
+ 2
Not exactly what you're looking for, but can use the underscore _ to regain the result of the last operation in IDLE.
>>> 5*8
40
>>> _
40
Other than that, copy/paste is probably the only way.