Why the 'self' argument?

Grzegorz Staniak gstaniak at inka.zagiel.pl
Fri Sep 5 09:58:41 EDT 2003


Hello,

I'm a newbie Python user, a systems administrator - I've been trying
to switch from Perl to Python for administrative tasks - and one thing 
I cannot understand so far is why I need the special 'self' (or anything
esle) argument in class method definitions. I might have missed an
explanation in the docs, a quick Google search did not help. Is there
somewhere on the web you could direct me to?

Thanks,

-- 
Grzegorz Staniak <gstaniak at zagiel.com.pl>




More information about the Python-list mailing list