Newbie: Alarm at end of program

dsavitsk dsavitsk at e-coli.net
Mon Apr 8 00:19:04 EDT 2002


below are 2 solutions that showed up.  try google groups for getting old
postings.

-d


"dsavitsk" <dsavitsk at e-coli.net> wrote in message
news:5aRq8.3571$d7.1106160 at newssrv26.news.prodigy.com...
> on win32 also try
>
> >>> import winsound
> >>> winsound.Beep(440,250)
>
> the first number is the frequency, the second is the duration.
>
> -d
>
>
> "Trond Gaarder" <trondga at -NOSPAM-ifi.uio.no> wrote in message
> news:a8gfr8$h4u$1 at maud.ifi.uio.no...
> > 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