I have this python method shown below in a separate file and want to access and get value using plain js (no frame works used.) is there any way i can achieve this?
def myPythonCode :
....
...
return somevalue
I have this python method shown below in a separate file and want to access and get value using plain js (no frame works used.) is there any way i can achieve this?
def myPythonCode :
....
...
return somevalue
You can use python wrapper for google V8 engine called PyV8
It act as a bridge between the Python and JavaScript objects, and support to hosting Google's v8 engine in a python script.