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

8 lines
203 B
Python
Raw Normal View History

2000-06-29 16:35:29 -03:00
# Ridiculously simple test of the winsound module for Windows.
2000-05-08 14:31:04 -03:00
2000-06-29 16:35:29 -03: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 14:31:04 -03:00