"Dave Angel" <da...@davea.name> a écrit dans le message de
news:mailman.15773.1415878987.18130.python-l...@python.org...
I don't use Windows, but from what I read, winsound.Beep is a
blocking call, and therefore must not be used in the main thread
of a gui environment.
Once the function is called, no events are
processed.
It seems like you need winsound.SND_ASYNC
Yes, you are right.
I have to use winsound.PlaySound(sound, flags)
with flag = winsound.SND_ASYNC
thx
--
https://mail.python.org/mailman/listinfo/python-list