[Tutor] Beep sound

Bod Soutar bodsda at googlemail.com
Sat Mar 23 18:42:18 CET 2013


On Mar 23, 2013 2:24 AM, "Steven D'Aprano" <steve at pearwood.info> wrote:
>
> On 23/03/13 12:48, Phil wrote:
>>
>> Just out of curiosity how can a beep sound be generated?
>>
>> My interest in this came about because echo -e '\a' no longer works.
Also print '\a' doesn't work, presumably for the same reason. The following
is also mute:
>>
>> import Tkinter
>> Tkinter.Tk().bell()
>>
>> Print '\a', under Idle, causes a bell icon to be displayed so it seems
that the lack of a beep is due to a system setting.
>
>
>
> Would you like us to guess what system you are running? Linux, Mac OS,
Windows, FreeBSD, OpenBSD, Android, something else? My guess is... Windows
XP. Am I close?
>
I'm gonna guess Ubuntu, in which case the system beep is probably disabled
system wide. Google "ubuntu enable disable system beep"

Bodsda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130323/623894d3/attachment.html>


More information about the Tutor mailing list