js2py Simple usage. import js2py js = """ function add(a, b) { return a + b } """ add = js2py.eval_js(js) r = add(1, 2) + 3 print(r) >>>6.
確定! 回上一頁