pygame music play code example
Example 1: pygame play sound
import pygame
pygame.mixer.init()
crash_sound = pygame.mixer.Sound("crash.wav")
crash_sound.play()
Example 2: pygame music player
import pygame
pygame.init()
pygame.mixer.play('datei.wav')