Readline module?

dogboy777 at my-deja.com dogboy777 at my-deja.com
Mon Jul 31 08:56:25 EDT 2000


I'd like to use the readline module in a python script running on Linux.
 Our sys admin just updated our version of Python to 1.5.2, but the
readline module isn't there.  What's particularly wierd is that
rlcomplete _is_ there:

python
Python 1.5.2 (#1, Jul 31 2000, 08:16:09)  [GCC 2.7.2.3] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import rlcompleter
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python1.5/rlcompleter.py", line 43, in ?
    import readline
ImportError: No module named readline
>>>

Any idea what's up or where to find the readline module?

Thanks,
Anders Schneiderman

P.S.  I also noticed that the readline module is listed in the Python
Essential Reference book and is mentioned by several documentation
pages, but it isn't on the module list
(http://www.python.org/doc/current/modindex.html).  Hmmm...


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list