Hi
"I have a problem with the solution. After clicking button1, I cannot click button2 until time.sleep(6) has waited for 6 seconds. Sometimes that is necessary. I should mention that I cannot change the value of time.sleep()."
if button1.value() == 0:
print("button1")
time.sleep(6)
if button2.value() == 0:
print("button2")
time.sleep(6)
"I have a problem with the solution. After clicking button1, I cannot click button2 until time.sleep(6) has waited for 6 seconds. Sometimes that is necessary. I should mention that I cannot change the value of time.sleep()."
if button1.value() == 0:
print("button1")
time.sleep(6)
if button2.value() == 0:
print("button2")
time.sleep(6)
Statistics: Posted by beliJJ — Thu Aug 22, 2024 10:24 pm — Replies 0 — Views 7