1

I will need to run some python scripts from my node.js code on an Amazon EC2 VPS.

Is this possible with node.js?

2

1 Answer 1

2

For node and Python on the same computer, there are two solutions:

(1) node can call most Python scripts using the nodeJS child process API

(2) node code can talk to Python code via sockets (either at localhost 127.0.0.1 or Unix-based) if the Python code supports sockets

Sign up to request clarification or add additional context in comments.

1 Comment

what about for different computers?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.