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 79 python-shell issues
Sort by recently updated
recently updated
newest added

What should be the exact path ko virtual environment of the python? `somepath/venv/bin` or `somepath/venv/lib/python3.6/site-packages`. Getting an error message like this: `Error: spawn ..vrp/venv/lib/python3.6/site-packages EACCES`

question

**The Question**: How do I send my whole .env file to a python script? **Any relevant python/javascript code:** I was trying the following with no success: ``` let options =...

question

**The Question**: I am trying to make a usable build for the program I'm making but I cannot make the python scripts run, not with electron-builder nor electron-packager I want...

question

**Is your feature request related to a problem? Please describe.** Using the ```kill()``` method has no feedback. The ```childProcess.kill()``` method which python-shell uses internally returns a boolean describing the success...

enhancement

Hello, I start 1 week ago, electron js with node js for a program that I have made in python, so I wanna use it in backend. So I put...

question

If I set the mode to ```'json'```, and python prints something that isn't JSON, then python-shell's use of ```JSON.parse()``` causes an error as one would expect. However, I can't seem...

enhancement
question

Is there any reason for this? It could be useful to run an interactive session without a script, as if you had run `python` from a terminal.

enhancement

How do I activate the **conda environment** and run python?

question

**The Question**: I have a nuxt-electron application that I want to use python as my backend. I have a python script that is supposed to run forever and continuously read...

question

Spent a very long time wondering why I had to "end()" `stdin` to send a message to Python. Thanks to issue #18 and this [StackOverflow answer about flushing Python output](http://stackoverflow.com/a/18849329),...