Python bell or beep

Grant Edwards grante at visi.com
Sun Sep 12 12:16:55 EDT 2004


On 2004-09-12, Michael Scarlett <caroundw5h at gmail.com> 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
                               visi.com            RONSTADT too!!



More information about the Python-list mailing list