I am currently writing a Discord bot in Node.js and i am wondering if there is any way to run a python program from Node.js.
I have far more experience programming in python and although I would prefer to write the bot in python it would be far to slow.
The bot is made to interface with a game or windows, for example: Someone types "!flipscreen" The Node.js bot replies and the python script that it runs sends data to the client running on your pc to rotate the screen.
Any advice is appreciated, thank you.
Edit: I am just trying to run a python file it doesn't have to be in the same terminal it could open a new window.