On Friday 2013 March 22 18: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.
>
> A Google search has shown several methods to play .wav files, some
> easier than others. Perhaps Pulse Audio has made '\a' redundant?

Maybe something here:

http://code.activestate.com/search/recipes/#q=beep

-- 
Yonder nor sorghum stenches shut ladle gulls stopper torque wet 
strainers.

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to