December 6th, 2011, 05:19 PM
Remember previous command in IDLE?
Hi, I am a new user of Python. In IDEL, how to remember the previous command? The arrow button UP and Down doesn't work.
December 6th, 2011, 07:40 PM
Can you connect IDLE to gnureadline?
I don't use IDLE.
Maybe there is an emacs compatibility mode for IDLE. You could use C-p (previous line) and C-n (next line) instead of the dumb arrow buttons that demand you move your hand from the home row keys. The mouse is worse.
I run software in an emacs shell buffer. This gives me the full editing facility of emacs, and I don't have to move my hands.
December 7th, 2011, 12:06 PM
IDLE is a full-screen editor, not a line-based one. Basically this means there’s not an easy way to repeat a previous line other than going back to it (with the Up key or using the mouse) and pressing Enter – this copies the whole line – or going back, selecting some text, and pressing enter – this copies only the selected text.
I checked the keyboard shortcuts that could be bound as well: looks like a “repeat last” function simply doesn’t exist.
February 16th, 2014, 09:30 PM
C-p, worked ! Thanks you !