Trouble with self keyword in python
<p>am creating a browser in ubuntu.. using Glade<br>
when i compile it's showing "NameError: name 'self' is not defined"<br>
code :  </p>

<pre><code>self.reload = self.bulider.get_object("reload")
def on_pressbutton_clicked(self, widget): print"reload"
</code></pre>

<p>it is just a sample code to check button's action..  </p>
