title: How to redirect the output of .exe to a file in python?
body: <p>In a script , I want to run a .exe  with some command line parameters as "-a",and then</p>
  
  <p>redirect the standard output of the program to a file?</p>
  
  <p>How can I implement that?</p>