0
import time
def tempo():
time.sleep(10)
print "Ola"
0
import time
def tempo():
time.sleep(10)
print "Ola"
2
You can use winsound and specify the sound you want
import winsound
import time
def tempo():
time.sleep(3.0)
winsound.PlaySound('C:/Users/usuario/Downloads/sound.wav',winsound.SND_ALIAS)
tempo()
Browser other questions tagged python
You are not signed in. Login or sign up in order to post.
Perfect!!! Thank you!
– edigaa