0
0
mirror of https://github.com/python/cpython.git synced 2024-11-27 23:47:29 +01:00
cpython/Lib/test/test_winsound.py

8 lines
203 B
Python
Raw Normal View History

# Ridiculously simple test of the winsound module for Windows.
2000-04-21 23:28:47 +02:00
import winsound
for i in range(100, 2000, 100):
winsound.Beep(i, 75)
print "Hopefully you heard some sounds increasing in frequency!"