title: Pygame cannot open sound file after being converted to .exe
body: <p>So I have a game I've written in pygame. It works great. I love it. I want to share it with my friends, so I tried compiling it into an exe. This is where things took a dive. </p>
  
  <p>Here's a sample of my code:</p>
  
  <pre><code>import os, sys, csv
  import pygame
  import random
  import subprocess
  
  pygame.mixer.init(22050, -16, 2, 256)
  pygame.init()
  
  clock = pygame.time.Clock()
  width   = 1080
  height  = 1080
  keys    = pygame.key.get_pressed()
  size    = (width, height)
  myfont  = pygame.font.Font('8Bit.ttf', 30)
  screen  = pygame.display.set_mode([width,height],pygame.FULLSCREEN) 
  pygame.display.set_caption('My Game')
  
  print(os.getcwd())
  image   = pygame.image.load(os.path.join('image.png'))
  engine  = pygame.mixer.Sound(os.path.join('engine.ogg'))
  bang    = pygame.mixer.Sound('bang.ogg')
  </code></pre>
  
  <p>All my game files are in the same root directory as the game. And again, it runs fine when I just run the python code from the terminal.</p>
  
  <p>I converted it using pyinstaller and have it installed to a directory and all the game files are imported to that directory. </p>
  
  <p>The files are in the directory the print() call prints, and the error I get is:</p>
  
  <pre><code>    pygame.error: Unable to open file 'engine.ogg'
  </code></pre>
  
  <p>I've tried including and removing the os.path.join() call, and even trying to just type out the entire path.</p>
  
  <p>Any advice?</p>