title: Python subprocess module equivalent for double-click in Windows
body: <p>I want to open a file using the <code>subprocess</code> module as though the file was double-clicked in Explorer. How do I do that?</p>
  
  <p>I tried the following line:</p>
  
  <pre><code>subprocess.call("C:/myfile.csv", shell=True)
  </code></pre>
  
  <p>which throws an error saying:</p>
  
  <blockquote>
    <p>The syntax of the command is
    incorrect.<br>
    'C:\' is not recognized as
    an internal or external command,
    operable program or batch file.</p>
  </blockquote>
  
  <p>How do I emulate a double-click using <code>subprocess</code>? Basically I want to open a CSV file in Excel 2007.</p>