Rishab7
New Member
- Joined
- Apr 17, 2023
- Messages
- 21
- Thread Author
- #1
I want to connect my .js code with my .py in a Chrome Add-on.
I want some text from JS being analyzed by the Python ki I've implemented. Then the return value from Python should get passed back to my JS file. Is this possible to do?
It's ok when the Add-on is only runnable locally. I'm looking for the easiest, not the best solution. Thank y'all
Right now, I've tried my best with the Python Shell import in JS, but I can't seem to get this to work. When add the "import {PythonShell} from "/python-shell";" the code simply stops working, including all the other functions.
I want some text from JS being analyzed by the Python ki I've implemented. Then the return value from Python should get passed back to my JS file. Is this possible to do?
It's ok when the Add-on is only runnable locally. I'm looking for the easiest, not the best solution. Thank y'all
Right now, I've tried my best with the Python Shell import in JS, but I can't seem to get this to work. When add the "import {PythonShell} from "/python-shell";" the code simply stops working, including all the other functions.