sleep()ing

Angus MacKay amackay at starvision.com
Thu Jun 17 17:33:00 EDT 1999


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