pygame Unable to open file code example Example: unable to open file pygame.mixer import os os.getcwd() # Log this line. soundObj = pygame.mixer.Sound('beeps.wav')