title: How do you play sounds when the python file is in a different directory as the sound file?
body: <p>So I'm making a text-based game, and after completion, I want to compile the end product to a .exe format so it's fairly easy to share (I plan on using cx_freeze)
  Now, I wanted to add some background music for the game, the code below works fine <strong>IF AND ONLY IF</strong> the python file is on the desktop and so is the "sound.wav" I'm looking for ways to execute the sound.wav in background whether it's on the same or different directory as the python file, thanks</p>
  
  <pre><code>import winsound
  winsound.PlaySound('sound.wav', winsound.SND_FILENAME)
  </code></pre>