title: How to run external program with parameters from Python
body: <p>generally in PowerShell I running command:</p>
  
  <pre><code>cd C:\Users\aaa\Desktop\File Namee\
  </code></pre>
  
  <p>then I am executing program with specific parameters:</p>
  
  <pre><code>.\program.exe /F:aa.dvl /PPP_ZZZ
  </code></pre>
  
  <p>and it works, now my question, how to execute it by python script ? I tried subprocess and os.system but it doesn't work for me.</p>
  
  <pre class="lang-py prettyprint-override"><code>file = ['C:\\Users\\aaa\\Desktop\\File Namee\\', '.program.exe/F:aa.dvl /PPP_ZZZ']
  subprocess.call(file)
  </code></pre>