compiling python 2.3.4 with command line editing

"Martin v. Löwis" martin at v.loewis.de
Sun Aug 15 12:15:28 CEST 2004


enjoylife_95135 wrote:
>    I need to upgrade, so I downloaded and compiled Python 2.3.4. Very
> cool, spiffy etc, but the interpreter doesn't allow for command line
> editing, i.e. I can't type <ctrl-P> and go to the previous command.
> 
>     How do I enable that?

Make sure the readline module is built. For that, you need to install
the readline header files, which are probably in the readline-dev
package.

Regards,
Martin



More information about the Python-list mailing list