cpython/Lib/dos-8x3/test_win.py
Guido van Rossum e8d2f5589b The usual.
2000-10-09 22:14:43 +00:00

7 lines
203 B
Python

# 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!"