test_winsound.py 202 Bytes DüzenleWeb IDE 1 2 3 4 5 6 # Ridiculously simple test of the winsound module for Windows. import winsound for i in range(100, 2000, 100): winsound.Beep(i, 75) print "Hopefully you heard some sounds increasing in frequency!"