Posts by Emerson • 9 points
1 post
-
0
votes5
answers9733
viewsA: playing mp3 files in Python
import pygame pygame.init() pygame.mixer.music.load('favela.mp3') pygame.mixer.music.play() pygame.event.wait() input()
1 post
0
votes5
answers9733
viewsimport pygame pygame.init() pygame.mixer.music.load('favela.mp3') pygame.mixer.music.play() pygame.event.wait() input()