title: What does Frame.__init__ do?
body: <p>in the following code, line 5, what does <code>Frame.__init__</code> do? Could someone explain the concept behind it? Thanks a lot!</p>
  
  <pre><code>from Tkinter import *
  class AppUI(Frame):
  
      def __init__(self, master=None):
          Frame.__init__(self, master, relief=SUNKEN, bd=2)
          [...]
  </code></pre>
  
  <p>Edit:
  <a href="http://effbot.org/zone/tkinter-menubar.htm" rel="nofollow">Full Code with correct indention here</a></p>