sleep()ing

Kevin F. Smith smithkf at OMIT_THIS.us.ibm.com
Tue Jun 22 01:38:23 CEST 1999


It's in time.

import time
time.sleep(1)



Angus MacKay wrote:

> is there anyway to sleep in a python program asside from:
> import os
> os.system("sleep 1")
>
> or
>
> import threading
> threading._sleep(1)
>
> I mean it is part of unistd.h so you would think that it would
> appear in os or posix or somewhere.
>
> cheers, Angus.





More information about the Python-list mailing list