Nico Grubert enlightened us with: > How can I use a timer that waits e.g. 10 seconds if 'transfer.lock' > is present and then checks again if 'transfer.lock' is still there?
Make a while loop in which you sleep. Or use the threading module if you want to go multi-threading. Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? Frank Zappa -- http://mail.python.org/mailman/listinfo/python-list