I am running an external program using pipes in python and it works fine. However I would like to pass two arguments to this external program.
Could anyone help me with that?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
if you mean piping the out into or out of the Python script, or
if you mean piping output between external programs.
See the subprocess docs. Post your code if you want a different type of solution.