DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to play music on pygame
import pygame pygame.init() mixer.music.load("music/main.wav")#music file mixer.music.play(-1)
PREVIOUS
NEXT
Tagged:
#play
#music
#pygame
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit