"Dave Angel" <[email protected]> a écrit dans le message de news:[email protected]...


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

Reply via email to