I'm new to Python, but not to programming. In this tutorial, the author initializes a constructor in his class like so:
class simpleapp_tk(Tkinter.Tk):
def __init__(self,parent):
Tkinter.Tk.__init__(self,parent)
I understand it, and you do the same in C#, and Java. However, in this tutorial, why doesn't the author do the same? He only initializes the application. Like this:
app = Tk()
In what situation would I do the second over the first? Which in your opinion is better?