[Tutor] Hello and newbie question about "self"

Kent Johnson kent37 at tds.net
Sun Feb 3 22:26:05 CET 2008


Patrick wrote:
> Hi guru's,
> 
> New to the list. I bought O'Reilly's Learning Python (3rd edition for
> 2.5) a while back. Slowly making my way through it and was pleasantly
> surprised that Python seems easier than C. Until...I bumped into the
> "self" thingy.

This should be covered by any tutorial. 2nd edition of Learning Python 
has a section called Methods that introduces self. Also see
http://www.ibiblio.org/swaroopch/byteofpython/read/self.html
http://hetland.org/writing/instant-hacking.html

Kent


More information about the Tutor mailing list