answer please about 'self'
<p>So, I don't understand how 'self' is never defined, but it's always used. </p>

<p>Ex: </p>

<pre><code> def __init__(self,parent,id):
        wx.Frame.__init__(self,parent,id,"My Frame",size=(300,200))
        panel=wx.Panel(self)

        self=self.CreateStatusBar()
        menu=CreateMenuBar()
        first=wx.Menu()
        first.Append(NewId(),"Close window","Yup")
        menu.Append(first,"File")
</code></pre>

<p>I'm not sure if this is correct, and I'm still working out the bugs, and this is just part of the script, but howcome you don't define <code>self</code>? You can just go <code>self.CreateStatusBar()</code>. How does Python know what <code>self</code> is? Please explain in simple words. </p>

<p>Thanks! :)</p>
