Playsound module can be used to play MP3 format sound
from playsound import playsound playsound('warning.mp3')