sleep()ing

Angus MacKay amackay at starvision.com
Thu Jun 17 23:33:00 CEST 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