New ScreenPanel
This commit is contained in:
27
script/jeptest.py
Executable file
27
script/jeptest.py
Executable file
@@ -0,0 +1,27 @@
|
||||
import jep.Jep as Jep
|
||||
|
||||
#if "j" in globals().keys():
|
||||
# j.close()
|
||||
|
||||
if not "j" in globals().keys():
|
||||
j = Jep(False)
|
||||
j.eval("from java.lang import System")
|
||||
j.eval("s = 'Hello World'")
|
||||
j.eval("System.out.println(s)")
|
||||
j.eval("print(s)")
|
||||
j.eval("print(s[1:-1])")
|
||||
|
||||
|
||||
|
||||
|
||||
j.eval("import numpy");
|
||||
j.eval("numpy.ones((1,2))")
|
||||
ret = j.getValue("_")
|
||||
|
||||
|
||||
|
||||
#j.close()
|
||||
#res= lscan(inp, sin, 0, 40, 10, 0.1)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user