import pygame pygame.mixer.init() pygame.mixer.music.load("/home/pi/10.mp3") pygame.mixer.music.play() while pygame.mixer.music.get_busy(): pygame.time.Clock().tick(10) #11,