Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 2a9b0a93091b9ef7350a94bb3d3f1c43725b7a8c authored by Georg Brandl on 05 March 2011, 13:54:19 UTC
Close 2.0 branch.
Tip revision: 2a9b0a9
test_winsound.py
# 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!"

back to top