I am trying to either have a table cell or label display the looped result but am dealing with freezing.
def counter(self):
while True:
for number in range(10000):
print(str(number))
time.sleep(2)
Works perfectly. But if I change it to below:
def counter(self):
while True:
for number in range(10000):
label1.settext(str(number))
time.sleep(2)
It freezes the gui and no matter how much sleep I put it will not display the results. Using Pyqt5 for the label and/or table. Print works perfect but when I tell it to display it freezes and shows blank.