New ScreenPanel

This commit is contained in:
2018-01-19 10:56:53 +01:00
commit ae4d621609
580 changed files with 46598 additions and 0 deletions

14
script/jepcall.py Executable file
View File

@@ -0,0 +1,14 @@
def call_cpython(module, function, args = []):
j=__getJep()
f = "function_" + j.hashCode()
eval_cpython("from " + module + " import " + function + " as " + f)
return j.invoke(f, args)
call_cpython("numpy", "ones", [(2,3)])