I have a tkinter/python program which does something time consuming when I push a button. I'd like to give the user progress reports by updating a label field at each stage of the time consuming process. If have simple loop to the effect
for x in y:
dosomething(x)
self.label1.config(text = x)
alas, the label only updates at the end, rather than as things go. I also noticed that the button stays pressed until the process is done.
On the hope this makes sense, how can I show users the current x while in the loop?