playsound with avplay python code example Example: play music from python from playsound import playsound playsound('audio.mp3')