title: How to erase everything from the tkinter text widget?
body: <p>Im working on a GUI for some chat programme. For user's input I have Text() widget, messages are sent via "Return" and after that I clean the Text(). But as hard as I tried I cant remove the last "\n" which Return button creates. </p>
  
  <p>Here is my code for this part:</p>
  
  <pre><code>def Send(Event):
     MSG_to_send=Tex2.get("1.0",END)
     client.send(MSG_to_send)
     Tex2.delete("1.0",END)
  </code></pre>
  
  <p>looking forward for offers)</p>