Welcome, guest | Sign In | My Account | Store | Cart
import winsound

try:
    winsound
.PlaySound("*", winsound.SND_ALIAS)
   
print 'Sound hardware is OK'
except RuntimeError, e:
   
print 'Sound hardware has problem,', e

History