Synchronizing a sound with a widget change

Dave Angel davea at davea.name
Thu Nov 13 11:15:18 EST 2014


"Yimr Zero" <yimr00 at gmail.com> Wrote in message:
> body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 10.5pt; font-family: 'Segoe UI'; color: rgb(0, 0, 0); line-height: 1.5; }
> Hi,
> You may try to add the sleep(5) after the color change statement. You could adjust the sleep time to let the color change and beep synchroize.
> Thanks.
> 

But sleep () doesn't have a non blocking version. You'd have to
 put it in another thread to get it out of the way.


-- 
DaveA




More information about the Python-list mailing list