I am trying to grab stdout from a subprocess.Popen call and although I am achieving this easily by doing:
stdout
subprocess.Popen
cmd = subprocess.Popen(\'
Your interpreter is buffering. Add a call to sys.stdout.flush() after your print statement.