From: Евгений К. <ff...@gm...> - 2019-06-27 06:31:16
|
Hello. How to pass arguments from Java args to jython using JSR-223? For example when i use code like this: ScriptEngine engine = new ScriptEngineManager().getEngineByName("python"); // Using the eval() method on the engine causes a direct // interpretataion and execution of the code string passed into it engine.eval("import sys"); How can i pass args to Jython? |