logo       

Using rlcompleter in Jython: msg#00035

lang.jython.user

Subject: Using rlcompleter in Jython

Hi,

I'd like to get rlcompleter to work in the Jython console, so that I
can have readline-style tab completion.

I've tried to follow the steps outlined here, but without success:

http://sourceforge.net/mailarchive/message.php?msg_id=9971867

Java-readline is installed, and my Jython registry looks as it should.
The rlcompleter.py library is availble to Jython.

However, when I try to import rlcompleter in the Jython console, I get
this error message:

Traceback (innermost last):
File "<console>", line 1, in ?
File "/usr/lib/python2.1/rlcompleter.py", line 42, in ?

This is not very surprising, as I couldn't follow step 5 from the
instructions referenced above. readline.py is not available at the
suggested URL any longer.

Does anyone know where to get it? Or is their another way to solve
this?

(The tab completion works fine in Python, BTW.)

Thanks,
Andreas


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise