title: How can I capture the stdout output of a child process?
body: <p>I'm trying to write a program in Python and I'm told to run an .exe file. When this .exe file is run it spits out a lot of data and I need a certain line printed out to the screen. I'm pretty sure I need to use <code>subprocess.popen</code> or something similar but I'm new to subprocess and have no clue. Anyone have an easy way for me to get this done?</p>