Sat Feb 21, 2015 11:21 am
Sat Feb 21, 2015 11:33 am
Sat Feb 21, 2015 11:44 am
Sat Feb 21, 2015 12:17 pm
Code: Select all
import pygame pygame.mixer.init() pygame.mixer.music.load("song.mp3") #Open the mp3 file pygame.mixer.music.set_volume(1.0) #Volume at max between 0.0 and 1.0 pygame.mixer.music.play() #Start the track
Sat Feb 21, 2015 6:32 pm
Return to “Python”