time.I hung a sleep (7200)
After two hours, the code below should work, but it doesn't seem to work.
Why is that?
time.Except for sleep (7200)
, if you turn the code, it turns around, but it's probably Sleep (7200)
seems to be the problem.
time.Will it be solved if I cut sleep
in short units?
two hours in the eyes and see if he's taking a breath and try to what will.
time.You can test sleep()
itself with this code. Would you like to check?
import datetime
print("down")
print(datetime.datetime.now())
sleep(7200)
print("up")
print(datetime.datetime.now())
© 2025 OneMinuteCode. All rights reserved.