Problem with keyboard up/down arrows in Python 2.4 interpreter

Julien jphalip at gmail.com
Tue Mar 22 02:27:56 EDT 2011


Hi,

I'm having problems when typing the up/down arrows in the Python 2.4
interpreter (exact version: Python 2.4.6 (#1, Mar  3 2011, 15:45:53)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin).

When I press the up arrow it outputs "^[[A" and when I press the down
arrow it outputs "^[[B".

I've google it and it looks like it might be an issue with the
readline not being installed or configured properly. Is that correct?
If so, how can I fix this issue?

Many thanks.

Kind regards,

Julien



More information about the Python-list mailing list