Jun-14-2020, 06:23 PM
I am just doing some testing for js2py and i wrote some simple code which should output 6, however whenever i try to run it, it says there is no module called js2py, what am i missing?
Here's the code:
Here's the code:
import js2py code1 = 'function f(x) {return x + x }' f = js2py.eval_js(code1) print(f(3))