Python: How to clear text entry when that entry is clicked?
<p>How can I clear a tkinter <code>entry</code> when being clicked?
I tried putting command like button but its not working.</p>

<pre><code>self.entry1= Entry(self.mw,width=25,text=str1,justify=RIGHT,fg="red")
self.entry1.insert(INSERT, "type here..")
self.entry1.pack()
</code></pre>