Finally found the solution
Options.importSite = false;
which solved my issue.
I can't set Bindings and pass args to script. The only example I found is for
JavaScript. I think maybe it doesn't work for jython.
Thanks
From: Python-list on
behal
Not sure if this is the right list for jython questions.
I am getting started with both python and jython. My use case need is invoking
python from java. org.python:jython:2.7.2 loaded ok.
To check, I executed the following.
ScriptEngineManager manager = new ScriptEngineManager();
List engine
I installed Python 3.3 for the Mac (10.6.8), but I did not get the interpreter
installed. I get IDLE and the Launcher, but no interpreter. At least I can't
find it.
I thought maybe it updated /System/Library/Frameworks/Python.framework. No
luck. I guess my question is how do I get the lates