from jeputils import * import ch.psi.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)