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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

IIS->Tomcat Redirect: multiple worker with default -