python pip install playsound code example
Example 1: playsound conda
>>> from playsound import playsound
>>> playsound('/path/to/a/sound/file/you/want/to/play.mp3')
Example 2: how to get sound in python
#if on windows
import winsound
Example 3: playsound
Cannot find the specified file. Make sure the path and filename are correct.