> here is the code
> from Tkinter import *
> class Alarm(Frame):
> def __init__(self):
> if __name__ == '__main__':
> there is no sound when it run ,why?
> Tkinter-discuss mailing list
> [hidden email] > http://mail.python.org/mailman/listinfo/tkinter-discuss >
Thus spoketh "Michael O'Donnell" <[hidden email]>
unto us on Tue, 23 Aug 2011 14:49:24 +0200:
> In a linux terminal, try:
> xset b on
> Then try the tkinter coder again.
> May or may not work, don't have linux here to test it.
It works here (debian squeeze).
I am not sure if the OP is aware of the fact that the "bell" sound is
supposed to come out of the PC speaker, not the sound card. So if there
is no PC speaker or it is turned off you will not hear a thing.
I don't know about windows, on unix systems you could also try a more
generic PC speaker test than Frame.bell() with
Is not that the nature of men and women -- that the pleasure is in the
learning of each other?
-- Natira, the High Priestess of Yonada, "For the World is
Hollow and I Have Touched the Sky", stardate 5476.3.
Tkinter-discuss mailing list
[hidden email] http://mail.python.org/mailman/listinfo/tkinter-discuss