Python bell or beep

Grant Edwards grante at
Sun Sep 12 18:16:55 CEST 2004

On 2004-09-12, Michael Scarlett <caroundw5h at> wrote:

>> >>I am a former BASIC programmer.  Is there a command I can place in a
>> >>Python program to make a beep or buzz or bell?
>> There are various ways, most platform/shell specific. If you happen to 
>> be on Windows, check out the standard module winsound. 

> or just do this [code]
> print "\a"
> [/code] 
> not too hard

not too effective. ;)

At least not on my system where terminals don't beep when you
send them a BEL character.

Grant Edwards                   grante             Yow!  HOORAY, Ronald!! Now
                                  at               YOU can marry LINDA
                                 RONSTADT too!!

More information about the Python-list mailing list