From: Tim Gilbert <tim@sk...> - 2009-05-19 23:13:35
As another note on the JLine integration, can anyone explain this behavior?
Jython 2.5rc2 (Release_2_5rc2:6341, May 11 2009, 17:07:28)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_07
Type "help", "copyright", "credits" or "license" for more information.
>>> import readline
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\dev\python\jython2.5rc2\Lib\readline.py", line 11, in <module>
raise ImportError, '%s. The readline module requires that java-readline from
http://java-readline.sourceforge.net/ be on the classpath' % msg
ImportError: No module named gnu. The readline module requires that java-readline from http://java-readline.sourceforge.net/ be on the classpath
Assuming that JLine is, in fact, on the classpath (since it's operational) is there a way that we can get to it from the Jython repl? I was hoping to enable tab completion as in this article:
Get latest updates about Open Source Projects, Conferences and News.