"Sounding" Off, IDLE (Win7)

MRAB python at mrabarnett.plus.com
Thu Feb 18 22:57:53 EST 2010


rantingrick wrote:
> On Feb 18, 6:10 pm, "W. eWatson" <wolftra... at invalid.com> wrote:
>> In Win7 IDLE, when I type in something with a syntax problem, a bell
>> rings. How do I stop that? I've looked at Control Panel Sounds, but
>> don't see anything of apparent use.
> 
> Monkey Patch Said: """ Turn off your speakers"""

But what if you like to listen to music while programming?

Look in the folder <pythonfolder>\Lib\idlelib for a file called 
"config-extensions.def". In it is a line:

     bell=1

Change that to:

     bell=0

Save the file and restart IDLE.



More information about the Python-list mailing list