beep

Pete Shinners shredwheat at mediaone.net
Tue Jan 23 01:13:32 EST 2001


> What do I write to just have my pc beep. I have windows 98. I tried
> import winsound
> winsound.beep(400,500)
> But I get an error(exception) message.
> I'm not sure what I"m doing (obviously), I just downloaded Python two
> days ago and I'm just playing with it to see what I can do. Help!

heh, i've found that
>>> print '\a'

does a pretty good job on windows and unix.
although on windows this plays the system default beep wav,
it does not send noise to the speaker/buzzer






More information about the Python-list mailing list