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