Answers for "python play music mp3"

14

play music from python

from playsound import playsound
playsound('audio.mp3')
Posted by: Guest on May-06-2020
0

how to play a mp3 file in python

from pygame import mixer#if this module in not installed then install it by pip install pygame
mixer.init()
mixer.music.load('alarm.mp3')
mixer.music.play()
Posted by: Guest on December-11-2021

Browse Popular Code Answers by Language