activating history in Python 2.3.4
riko.wichmann at remove-this.desy.de
Fri Nov 19 10:03:47 CET 2004
lately, I installed Python 2.3.4 from sources (after having 2.2 for some
However, running Python interactively, I cannot recall the histroy of
command with cursor-up or down anymore (just get ^[[A for example).
As far as I could find out, it has something to do with GNU readline.
When I do
>>> import readline
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named readline
things seem to be clear. However, since my old Python 2.2 seems to have
readline it means, gnu readline is in principle available.
How can I activate history, or where do I get the readline module from?
Thanks and cheers,
More information about the Python-list