title: what does Tk.__init__(self, *args, **kwargs) do?
body: <p>Why does <code>tk.Tk.__init__(self, *args, **kwargs)</code> open a new window and what does the parameters inside it do?</p>
  
  <p>for example:</p>
  
  <pre><code>import tkinter as tk
  
  
  class App(tk.Tk):
  
      def __init__(self, *args, **kwargs):
          tk.Tk.__init__(self, *args, **kwargs)
          tk.Label(self, text='text on the screen').pack()
  
  
  app = App()
  tk.mainloop()
  </code></pre>
  
  <p>edit: I wasn't really asking what *args and **kwargs do I mainly wanted to know what <code>tk.Tk.__init__(self)</code> does!</p>