0

Open mp3 file

I want to know how to open mp3 file in python. Help me

9th Apr 2021, 4:01 AM
Akira Tatsukane
Akira Tatsukane - avatar
2 Answers
+ 1
You won't be able to play an mp3 file inside of SoloLearn. To do it on your PC, you will need a module that supports audio files. Here is one example: import playsound playsound.playsound('PATH_TO_MP3/sound.mp3', True)
9th Apr 2021, 4:04 AM
Jerry Hobby
Jerry Hobby - avatar
+ 1
Kawaru using native player or with libraries?
9th Apr 2021, 4:34 AM
David OrdĂĄs
David OrdĂĄs - avatar