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
-
Is your question about AWS Node integration or the order to run external programs?Ito– Ito2014年06月19日 01:33:41 +00:00Commented Jun 19, 2014 at 1:33
-
1there are AWS EC2 instances running node. if you use elastic beanstalk to deploy on that instance you would be able to run any script. check docs.aws.amazon.com/elasticbeanstalk/latest/dg/… and docs.aws.amazon.com/elasticbeanstalk/latest/dg/… for more detailKamrul– Kamrul2014年06月19日 01:35:52 +00:00Commented Jun 19, 2014 at 1:35
1 Answer 1
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
claude computing
what about for different computers?
default