title: Python tkinter : loop in Label
body: <p>Hello I just wanted that the Label change/refresh during the loop, but it doesn't work</p>
  
  <p>This my code</p>
  
  <pre><code>fen1 = Tk()
  
  v = StringVar()
  Label(fen1,textvariable=v).pack()
  
  i=0
  
  while(1):
      i=i+1
      v.set(i)
  fen1.mainloop() 
  </code></pre>
  
  <p>Thanks</p>