title: Python Tkinter Refresh text in Text widget
body: <p>I am new to tkinter. I need to show in a text box some informations about the ongoing process. The code below prints the two messages at exit. How can I refresh the box whenever I need?</p>
  
  <pre><code>Self.txtbox.insert("end", "wait...")
  </code></pre>
  
  <p>do_something_long()
  Self.txtbox.insert("end", "done\n")</p>