Answers for "python play sound library"

6

Play sound in python

import winsound

winsound.PlaySound('sound.wav', winsound.SND_FILENAME)
Posted by: Guest on May-04-2021
2

python play music

import sys
import subprocess
subprocess.check_call([sys.executable, '-m', 'pip', 'install',
'playsound'])
import playsound
playsound("MyPath\MySound.mp3")
Posted by: Guest on January-25-2021

Browse Popular Code Answers by Language