wait until change

Tom llafba_NOSPAM_ at gmx.net
Fri Oct 17 15:02:56 EDT 2003


Peter Hansen wrote:

>Use time.sleep().
>
>-Peter
>
If I use sleep, I have to know how long the process should sleep, but 
sometimes it should sleep for seconds and sometimes for minutes. So it 
would be good if I can put it to sleep and somehow wake it up if the 
file changed.

Tom





More information about the Python-list mailing list