From: Leo U. <leo...@ya...> - 2006-03-31 16:21:15
|
howdy folks, I thought Id just leave this message here for those that would be interested. I do work on an app called jyleo, can be downloaded here: http://sourceforge.net/project/showfiles.php?group_id=3458&package_id=147335 jyleo is a literate editor. Now, in developing the app I also develop a piece of Java code I call the JythonShell. What it is: A Swing front end to the Jython interpreter. Ive modeled its functionality after IPython and also thrown in some other useful things. If you get frustrated with the regular jython prompt because its missing something you'd like the JythonShell may have it for you. One of the goals I have for the JythonShell is that it can be used independently of jyleo. Its just another Java library. When embeded in jyleo, jyleo does the integration. Because of this, its possible to run the JythonShell outside of jyleo. This is what Ive been doing as of late, since Ive had need of the shell independent of jyleo. Since Ive been doing this I thought other jython users may benefit from it as well, those who dont give a darn about about jyleo. :D Here is a simple recipe(copied from a wiki note I made): howdy, I thought Id share this info for folks that are interested. As Ive said, Im stuck not using jyleo but have need of its JythonShell component. The JythonShell can operate independently of jyleo. So I set up a simple shortcut on my desktop to start it up when I need it. The essence of getting it to run is: set the CLASSPATH environment variable to point to: 1. The jython.jar that is in the jython distribution when installed. 2. The parent directory of org/leo/shell directory. This is currently the src directory in the jyleo distribution. On a unix machine I export the CLASSPATH export CLASSPATH then I execute the shell like so: java org.leo.shell.JythonShell and up pops the shell. ----------------- wiki link: http://leo.zwiki.org/JyLeo Some other relevant info about the JythonShell: 1. Its a Java 5 app. 2. It needs the latest Jython 2.2 release I think thats all the info anyone needs, any questions go ahead and ask. thanks! leouser __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |