Hi I want to know how the code works in python for the 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 to me, first mytextbox
's text is 'Yes'. After 100 seconds, it should be 'No'. But for me, when I call the function, the mytextbox
text is not updating with 'Yes'. It is always showing 'No'. What could be the reason?