Python XX instance has no attribute YY
<p>I have this noob error, </p>

<pre><code>   l = instanciaHagale.multiplicaMethod() AttributeError: Hagale instance has no attribute 'multiplicaMethod'
</code></pre>

<p>here my code:</p>

<pre><code>class Hagale :
    def __init__(self, a):
        self.a = a 
        print self.a 

        self.sumaleAlgo = self.a+34543 #variable creada on the fly!

        def multiplicaMethod (self):

            return 'self.cuadradoReal'
            #self.cuadradoReal = self.a * 2

instanciaHagale = Hagale(345)

print instanciaHagale.sumaleAlgo #acceso a las variables de mi objeto! 

l = instanciaHagale.multiplicaMethod()

print l 
</code></pre>

<p>thanks!</p>
