I like the python shell in ubuntu, it looks pretty, and I want to run jython from there. Can this be done somehow? Woo crazy saturday night.
A:
Can't you just start a jython shell by typing jython?
Or are you trying to run ipython with jython? or do you want to run a jython program/script from an interactive pythpn shell?
P.S. Possibly
import subrocess
f=subprocess.Popen(['jython', '/usr/share/jython/Lib/test/test_xmllib.py'],stdout=subprocess)
for f.stdout.readline:
...
Roman A. Taycher
2010-10-24 03:25:49
jython in the unix shell works, but yeah, I'm trying to run jython from the (for lack of a better term) interactive shell
Some person
2010-10-24 03:46:46
the jython interactive shell? or a jython process?
Roman A. Taycher
2010-10-24 04:22:51
import subrocess f=subprocess.Popen(['jython', '/usr/share/jython/Lib/test/test_xmllib.py'],stdout=subprocess)
Roman A. Taycher
2010-10-24 05:14:22