title: How can Python open and play a list of mp3 files with Windows Media Player
body: <p>I want to use Python to open and play a list of .mp3 files on Windows Media Player.  I have been able to open a single file with:</p>
  
  <pre><code>os.startfile(path_to_file)
  </code></pre>
  
  <p>but I would like to open an entire playlist.  This would be akin to selecting all the files in a folder, right clicking and selecting 'Add to Windows Media Player list'.  I would envision something like:</p>
  
  <pre><code>for i in range(NumberOfSongs): 
      os.startfile(Files[i])
  </code></pre>
  
  <p>but this simply cycles through the tracks until the last one and plays that track only.  Does anyone know how to use this function with a list of files or another function that would open media player and add a list of files to it?  </p>