python-shell
python-shell copied to clipboard
Run Python scripts from Node.js with simple (but efficient) inter-process communication through stdio
**The Question**: Are there any ways to set memory or time limit to prevent using infinite loops? I'm making and online compiler
**Describe the bug** My python script runs correctly when I run it using `Python3 app.py` but when using python-shell to run the script it fails with the error: ``` Traceback...
**The Question**: Hi, I'm trying out python-shell in a next.js project and I wasn't able to import my local python module in the script. ```ts const messages = await PythonShell.runString(`from...
**Describe the bug** Uncaught TypeError when importing PythonShell in TS linker file for running python script from Electron app. This also happens when using CommonJS with `const PythonShell = require('python-shell')`....
i have installed numpy using pip. running python locally i can import it without problems, but when pyshell runs, then the python script cannot find the numpy module. the user...
**Is your feature request related to a problem? Please describe.** If I call checkSyntax very frequently I'm going be writing a ton of temp files. Would be nice to avoid...
Set the working directory for subprocesses to allow Python code to load files using relative paths.
**The Question**: I am executing some python code coming from client on the server. I want to provide some stdin to the program code. How do I do that ?...
# In update - [x] it uses the path.join() method to join path segments instead of concatenating them with the sep constant, which makes the code more platform-independent and less...
I'm looking for someone to take over maintenance duties for this project. @brucedjones @extrabacon FYI. @extrabacon, can you a set a "looking-for-maintainer" and "maintainer-wanted" topic in the repo please?