up arrow with raw_input

Skip Montanaro skip at pobox.com
Sat Oct 26 03:43:08 CEST 2002


    kevin> I've been trying to trap an up-arrow response when using
    kevin> raw_input() and its not going well.... I've also tried using GNU
    kevin> readline. This only works from the python prompt (>>>) and not
    kevin> while waiting for input using raw_input().
    kevin> Does anyone have any ideas?

You might check out ipython.  It looks like it does the right thing.  Google
for "ipython" and hit the "feeling lucky" button.

-- 
Skip Montanaro - skip at pobox.com
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list