An open API service indexing awesome lists of open source software.

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

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`