I just finished a program, it worked perfectly, then I changed a bit of it, and now it won't work at all, even if I change it back.
self.secret_txt = Text(self, width = 35, height = 5, wrap = WORD).grid(row = 3, column = 0, columnspan = 2, sticky = W)
That it the code which is faulty.
I tried to change wrap = WORD to wrap = CHAR (just to see the change), and got this error: AttributeError: 'NoneType' object has no attribute 'delete'
'delete' comes from here:
self.secret_txt.delete(0.0, END)
Now I always get the error, even when using wrap = WORD, and also in new programs.
Help please!