What am I doing wrong in this simple tkinter example?

Christian Gollwitzer auriocus at gmx.de
Sat Mar 16 16:31:20 CET 2013

Am 16.03.13 16:14, schrieb Yves S. Garret:
> On Saturday, March 16, 2013 11:08:24 AM UTC-4, Chris Angelico wrote:
>>      self.secret_txt.delete(0.0, END)
>>      self.secret_txt.delete(0.0, message)
>> Is the second one supposed to be adding text? I'm not familiar with
>> tkinter but that's the line with the error, and it looks a little odd.
> Yes, the second line is supposed to add the text.

Think about it. "delete" is not going to add text. You want "insert" 


More information about the Python-list mailing list