Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to play mp3 file form pygame module

from pygame import mixer
    water_song = "water.ogg"
    mixer.init()
    mixer.music.load(water_song)
    mixer.music.play()
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #play #file #form #pygame #module
ADD COMMENT
Topic
Name
1+2 =