Newbie: Alarm at end of program

Trond Gaarder trondga at -NOSPAM-ifi.uio.no
Wed Apr 3 22:07:45 EST 2002


Don't know if this is the best/correct way of doing it in Python, but it
works for me (on a PC):

print "\a"

This should emit a beep from the pc. What it sounds like is highly
machine-dependent, however...


-Trond


"billludden" <billludden at email.msn.com> wrote in message
news:es5HyN42BHA.1996 at cpimsnntpa03...
> Hi,
> I have written a script that runs from a few minutes to several hours
before
> it finishes.  How would I make the computer play a 'beep' to signal that
it
> is finished?
> Thank you,  Bill
>
>





More information about the Python-list mailing list