If I run
time.sleep(600) # 10 minutes
and close my laptop for 5 minutes and open it again, will it sleep for another 10 minutes or 5 minutes? Will the code just pause, or will it read the time and recognize that 5 minutes passed?
Tested with 60 seconds, and the code pauses, at least on windows 10.
1.4m articles
1.4m replys
5 comments
57.0k users