[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

System Beep?

Thank you, both work for me too.
Mischief managed.

I am simply a thing that thinks.
Rene Descartes

-----Original Message-----
From: Python-list < at> On
Behalf Of Terry Reedy
Sent: Saturday, March 9, 2019 12:53 AM
To: python-list at
Subject: Re: System Beep?

On 3/8/2019 1:13 PM, Steve wrote:
> How can I cause a system beep using code?

 >>> import winsound as ws
 >>> ws.Beep(500, 1000)


 >>> from tkinter import Tk
 >>> root = Tk()
 >>> root.bell()

work for me.  The bell is not exactly a bell, but different from a monotone

Terry Jan Reedy