Python and Pygame tutorials with source code, examples, guides, and tips and tricks for Windows and Linux development.
import pygame import time pygame.init() pygame.mixer.music.load('file.ogg') pygame.mixer.music.play() time.sleep(1.5)