Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question