beep again

Cesar Rabak csrabak at uol.com.br
Wed Jan 24 20:05:39 EST 2001


Mark Hammond wrote:
> 
> 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
> 

Well, in ActivePython 2.0, build 202, it only runs a ding.wav from
windows. (Win98 SE).



More information about the Python-list mailing list