pygame.error: Unknown WAVE data format 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')