Answers for "play a audio file in python using winsound"

6

Play sound in python

import winsound

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

python winsound

import winsound
# Play Windows exit sound.
winsound.PlaySound("SystemExit", winsound.SND_ALIAS)
Posted by: Guest on July-29-2021

Browse Popular Code Answers by Language