title: Is there an platform independent equivalent of os.startfile()?
body: <p>I want to run a program on several platforms (including Mac OS), so I try to keep it as platform independent as possible. I use Windows myself, and I have a line <code>os.startfile(file)</code>. That works for me, but not on other platforms (I read in the documentation, I haven't tested for myself).</p>
  
  <p>Is there an equivalent that works for all platforms?</p>
  
  <p>By the way, the file is a <code>.wav</code> file, but I want users to be able to use their standard media player, so they can pause/rewind the file. That's why I use <code>os.startfile()</code>. I might be able to work with libraries that also allow playing/pausing/rewinding media files.</p>