calling class instances and their methods

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Mar 26 11:40:56 EDT 2007


On Mar 26, 12:00 pm, "spohle" <spo... at gmail.com> wrote:

> i created an instance of a my own class which has methods and all. now
> i get an outside function called, which is unfortunatly not aware of
> the instace at all (i don't control how this outside function is
> called). but i would like to get access back to my instance and it's
> methods.

I don't understand well. Do you want to call a method on your object,
from inside that external function? Can you modify its code?

--
Gabriel Genellina




More information about the Python-list mailing list