https://github.com/hugodf/node-run-python
An example of running a Python script and using its output from Node.js
https://github.com/hugodf/node-run-python
Last synced: about 1 month ago
JSON representation
An example of running a Python script and using its output from Node.js
- Host: GitHub
- URL: https://github.com/hugodf/node-run-python
- Owner: HugoDF
- License: mit
- Created: 2019-01-08T22:25:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-08T22:25:36.000Z (over 6 years ago)
- Last Synced: 2025-02-28T18:33:56.284Z (2 months ago)
- Language: JavaScript
- Homepage: https://codewithhugo.com/integrate-python-ruby-php-shell-with-node-js/
- Size: 4.88 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node.js run Python
An example of running a Python script and using its output from Node.js
Table of contents:
- [Requirements](#requirements)
- [Running the example](#running-the-example)
## Requirements
Docker CLI (easiest way to install on Mac/Windows is [Docker Desktop](https://www.docker.com/products/docker-desktop))
**or**
/bin/sh, Node 10+/npm 5+ and Python 2.7+ installed
## Running the example
1. Using Docker: `./docker_run.sh`
2. Using npm: `npm start`
3. Using Node: `node run.js`