python-shell icon indicating copy to clipboard operation
python-shell copied to clipboard

Run Python scripts from Node.js with simple (but efficient) inter-process communication through stdio

Results 77 python-shell issues
Sort by recently updated
recently updated
newest added

Hi, Probably the answer is simple :) I'm trying to run in Alpine Linux to install a package and get a permission denied errno 13. Oddly, some packages install ok,...

bug

that's my humble attempt to solve issue #77 thanks for making and maintaining this repo

Here is my code in node.js file function emailVerification(ordernumber,orderdate,key){ console.log(ordernumber); var options = { mode: 'text', args: ['id','pwd,ordernumber,'passkey',orderdate,key] }; let pyshell = PythonShell.run('email_check_driver.py', options, function (err,res) { console.log("Result",res) if (err)...

question

**The Question**: I am trying to pass UID: 0 to the Python Shell in order to execute my script as root as recommended in #41 . But this only results...

question

**The Question**: I am developing a disease prediction website. I have used react for frontend and express, mongodb, nodejs for backend. If run the python script just by executing the...

question

I am trying to set up a website for my school where users can run some python code and the executing part of the code is working fine but, the...

question

Is it possible to have the result of a python script fired as a ES6 Promise?

enhancement
help wanted

Is there way trun python script in sync with node ``` function() { let pyshell = new PythonShell('.myscript.py') let content = "" pyshell.on('message',function(message){ content = message }) return content //...

enhancement

i am doing some communication between electron.js/node.js and python. i can run a file from python and send a message to it, which is capture via stdin, and that python...

question

I am working on a project to create a working python terminal in the browser and love this node python solution. Is there anyway to import and run pygame using...

question