cpython/Lib/dos-8x3/test_win.py

8 lines
203 B
Python
Raw Normal View History

2000-06-29 19:35:29 +00:00
# Ridiculously simple test of the winsound module for Windows.
2000-05-08 17:31:04 +00:00
2000-06-29 19:35:29 +00:00
import winsound
for i in range(100, 2000, 100):
winsound.Beep(i, 75)
print "Hopefully you heard some sounds increasing in frequency!"
2000-05-08 17:31:04 +00:00