How can I run a Python script inside a JavaScript Discord Bot code?
Asked
Active
Viewed 962 times
1 Answers
1
You cant just interpret python code in javascript. You could try to spawn a proccess and execute your python script and take the output. Here is a solution, how to do this: node.js call external exe and wait for output

Justin_Sephirot
- 56
- 4
-
I meant that I want to run a Python script calling it from a JavaScript code. – Bruno Aug 13 '20 at 08:46
-
Like i already said with my first sentence, you cant just interprete Python Code in Javascript. How this should work? – Justin_Sephirot Aug 13 '20 at 09:00