python play music file pygame code example Example: pygame music player import pygame pygame.init() pygame.mixer.play('datei.wav')