X
X
Xaip2018-04-15 18:56:20
Python
Xaip, 2018-04-15 18:56:20

How to interact with third party processes in Python?

There is a third-party exe process, this is a server that takes some arguments and returns the result. Is it possible to arrange passing of arguments to exe and back to python script? I know that I need to dig in the direction of sys and subprocess, but I just can’t figure it out.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sly_tom_cat ., 2018-04-15
@Sly_tom_cat

import subprocess
... and the golden key is in your pocket
https://docs.python.org/3/library/subprocess.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question