play music wiht os module python code example
Example 1: python3 play a mp3
#pip install playsound
from playsound import playsound
playsound('your mp3 file.mp3')
Example 2: how to get sound in python
#if on windows
import winsound
#pip install playsound
from playsound import playsound
playsound('your mp3 file.mp3')
#if on windows
import winsound