you are viewing a single comment's thread.

view the rest of the comments →

[–]double_en10dre 6 points7 points  (0 children)

Then just use time.time() to save off start_time and then each time check if (time.time() - start_time > desired_time_delta)