help: up/down arrows in 2.3.4 interactiv

Michael Hudson mwh at
Mon Sep 13 18:40:23 CEST 2004

Jerald <jfj at> writes:

> I've just installed 2.3.4 from the source on a linux box.
> In the interactive mode, up/down arrows do not work.
> When I press 'up' python prints '^[[A' and down gives '^[[B'
> What is wrong?

Try installing readline-dev, or whatever package you need to convince
your distro to install readline's headers.


  <Nafai> w00t w00t w00t w00t!
  <Nafai> I don't understand all of the code, but it works!
  <Nafai> I guess I should check it in.
                                                -- from Twisted.Quotes

More information about the Python-list mailing list