beep again
Mark Hammond
MarkH at ActiveState.com
Wed Jan 24 13:12:06 EST 2001
In article <5251-3A6E5B71-16 at storefull-163.iap.bryant.webtv.net>,
clickron at webtv.net wrote:
> Thanks for answering my last question. I get the beep now, but no
matter
> what numbers I put in for the frequency and duration it doesn't
change.
The Python test suite has the following:
import winsound
for i in range(100, 2000, 100):
winsound.Beep(i, 75)
print "Hopefully you heard some sounds increasing in frequency!"
This does the "right thing" on both Python 2.0 and 2.1a1
Mark.
Sent via Deja.com
http://www.deja.com/
More information about the Python-list
mailing list