I\'m looking for an elegant way, without a ton of dependencies as in some of the solutions I googled up.
Thanks for any ideas.
The leanest most portable way I've found to play .mp3 and .wav files is playsound.
import playsound # wait for the sound to finish playing? blocking = True playsound.playsound("yourfile.mp3", block=blocking)