Time delay loop - better way?

Conrad bogus_address at nospam.com
Thu Jul 1 01:31:23 CEST 2004


On Thu, 01 Jul 2004 00:19:10 +0000, Jean Brouwers wrote:

> 
> For short time periods, you could use
> 
> import time
> ...
> time.sleep(1.0)  # seconds
> 
> wxPython may also provide a sleep function.
> 
> 
> /Jean Brouwers
>  ProphICy Semiconductor, Inc.
> 

Thank you Jean,

There's no defense here - I've used the time module a couple
of times, but had some sort of mental block that had me
thinking it just provided basic date services. duh. Sigh.
I've got to set aside some time learn the basic libraries - 
work keeps intruding. That and a pesky need to sleep a few
minutes every 24 hours. At least now my application can
get a little sleep, thanks to you.

Thanks again,

Conrad



More information about the Python-list mailing list