title: Python - Open .bat file in new window and also interact with it
body: <p>I am trying to run a <code>.bat</code> file in a new window so the user of the PC can input commands, however I want to also be able to programatically input commands at the same time. Is this possible? I have been fiddling around with <code>subprocess</code> and <code>Popen</code> however I havn't been able to get anything to work.</p>
  
  <p>Thanks in advance for any advice.</p>