How Python card text Component will change -
hi want know how code works in python below
def func1(self): self.components.mytextbox.text = 'yes' while 1: time.sleep(100) self.components.mytextbox.text = 'no' if self.components.mytextbox.text=='no': break def func2(self): self.func1()`
according me, first mytextbox
's text 'yes'. after 100 seconds, should 'no'. me, when call function, mytextbox
text not updating 'yes'. showing 'no'. reason?
Comments
Post a Comment