mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Added test_winsound by Mark Hammond.
This commit is contained in:
parent
a8ee4c31bf
commit
cdd092fe48
2 changed files with 9 additions and 0 deletions
2
Lib/test/output/test_winsound
Normal file
2
Lib/test/output/test_winsound
Normal file
|
@ -0,0 +1,2 @@
|
|||
test_winsound
|
||||
Hopefully you heard some sounds increasing in frequency!
|
7
Lib/test/test_winsound.py
Normal file
7
Lib/test/test_winsound.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Rediculously 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!"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue