I've implemented PyV8 into Python. I have an example javascript file that looks like this:
main-js.js:
var numOne = 1+2;
var numTwo = 3+1;
var numThree = 5;
How do I read each variable into Python with PyV8? So far I've opened and read the file with this: ctxt.eval(open("main-js.js").read()). But i don't know how to grab each variable from the file. This is hard to find due to the lack of documentation with pyv8