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?

Paul
27.8k13 gold badges90 silver badges127 bronze badges
asked Jun 19, 2014 at 1:19
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

Paul
27.8k13 gold badges90 silver badges127 bronze badges
answered Jun 19, 2014 at 6:55
Sign up to request clarification or add additional context in comments.

1 Comment

what about for different computers?

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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.