title: Run .bat file using Python
body: <p>I have a batch file, which I use to load some pre-build binaries to control my device.
  It's command is:</p>
  
  <pre><code>cd build
  java -classpath .;..\Library\mfz-rxtx-2.2-20081207-win-x86\RXTXcomm.jar -
  Djava.library.path=..\Library\mfz-rxtx-2.2-20081207-win-x86 tabotSample/Good1
  pause
  </code></pre>
  
  <p>Now, I want to run the batch file using Python, and I tried  <code>os.system(batch,bat)</code>, and I tried using Popen</p>
  
  <p><code>import os
    from subprocess import Popen
    os.popen("cd TAbot")
    r=os.popen("hello.bat")</code></p>
  
  <p>However, the python console(Anaconda python 2.7) seems like executed the code, but returns nothing, and nothing happens.
  I want to run this batch file from python, please help me.
  by the way, I tried popen for another batch file like,
  <code>echo Hello</code> but nothing happens. </p>