Files
tst/script/test_cpy2.py
2025-10-23 16:33:17 +02:00

13 lines
310 B
Python

from jeputils import *
import ch.psi.pshell.utils.Convert as Convert
a = call_jep("numpy", "ones", [[400,200],'d'])
while(True):
b = call_jep("numpy", "ones", [[400,200],'d'])
a = call_jep("cpython", "add", [a,b])
s = call_jep("cpython", "sum", [a,])
print a.getData()[0], s
sleep(0.01)