title: Execute batch file using Python script
body: <p>I'm trying to execute a batch file using a Python script. Is this possible? The Python script is in a different folder than the batch file. For example, the Python script is in <code>C:\users\me\desktop\python</code> while the batch file is in a folder <code>C:\users\me\desktop\batch</code>. I prefer not to use the full path to the batch file because I want it to work on other people's computer as well (i.e. the <code>C:\users\me</code> part might be different). </p>
  
  <p>This is the script I tried (executed from the "python" folder on desktop)</p>
  
  <pre><code>from subprocess import call
  
  path = "..\batch"
  call([path+"\test.bat"])
  </code></pre>
  
  <p>Result: file not found</p>