mirror of
https://github.com/python/cpython.git
synced 2024-11-24 08:52:25 +01:00
8 lines
203 B
Python
8 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!"
|
|
|