[docs] [issue14163] tkinter: problems with hello doc example

Roger Serwy report at bugs.python.org
Fri Mar 2 20:13:42 CET 2012

Roger Serwy <roger.serwy at gmail.com> added the comment:

I tried your tk_hello.py code and it works on Python 3.

The code for creating the QUIT button exceeds 80 columns. I'd insert a \n after the second argument:

        self.QUIT = tk.Button(self, text = "QUIT", 
                              fg = "red", command = root.destroy)


Python tracker <report at bugs.python.org>

More information about the docs mailing list