__init__ method giving exception
<p>I am new to python. I am trying to run following program:</p>

<pre><code>class Temp():

    def __init__(self):
        print 'hello world!'

    def main():
        temp = Temp()
        print 'here i am'

    if __name__ == '__main__':
        main()
</code></pre>

<p>I am getting this error:</p>

<pre><code>Traceback (most recent call last):
File "test.py", line 1, in &lt;module&gt;
  class Temp():
File "test.py", line 11, in Temp
  main()
File "test.py", line 7, in main
  temp = Temp()
</code></pre>

<p>Why i am getting this error?</p>
