Python Play audio files code example
Example 1: play music from python
from playsound import playsound
playsound('audio.mp3')
Example 2: python3 play a mp3
#pip install playsound
from playsound import playsound
playsound('your mp3 file.mp3')
from playsound import playsound
playsound('audio.mp3')
#pip install playsound
from playsound import playsound
playsound('your mp3 file.mp3')