do something in time interval

D'Arcy J.M. Cain darcy at
Mon Oct 6 21:25:02 CEST 2008

On Mon, 6 Oct 2008 21:13:21 +0200
"Petr Jake?" <petr.jakes at> wrote:
> > I am not an expert, but why not to use time.sleep(5)?
> >
> During the 5s period my script has to do some stuff instead of sleeping.
> Thats why it runs in the loop and once in 5s period it has to trigger some
> other stuff(function, method, action) to do.

Then check out

D'Arcy J.M. Cain <darcy at>         |  Democracy is three wolves                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.

More information about the Python-list mailing list