Problem with keyboard up/down arrows in Python 2.4 interpreter

Sridhar Ratnakumar sridhar.ratna at gmail.com
Tue Mar 22 12:58:44 EDT 2011


On Monday, March 21, 2011 at 11:37 PM, Benjamin Kaplan wrote:
On Tue, Mar 22, 2011 at 2:27 AM, Julien <jphalip at gmail.com> wrote:
> > 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?
You need to install this module:
http://pypi.python.org/pypi/readline/

Out of curiosity, which distribution of Python are you using? ActivePython, MacPorts, python.org or homebrew?

-srid 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110322/cdf31b3a/attachment-0001.html>


More information about the Python-list mailing list