Friday, August 14, 2015

Python: "sleep" command like the bash's sleep


import time
time.sleep(secs)

The argument may be a floating point number to indicate a more precise sleep time.

No comments: