I wanted to run python scripts with javascripts so I decided to use the python-shell module. the javascript script seemed worked at first, but then, it just stopped working. I don't know why it just stopped working when it was working just seconds ago. here the code
import {PythonShell} from 'python-shell';
PythonShell.run("main.py", null, function (err) {
if (err) throw err;
});
it ran the main.py just a few seconds ago and now it doesn't even give an error, it just doesn't run the python file. Can someone please help me.