Introduction object-oriented programming

Terry Reedy tjreedy at
Fri Jan 17 18:40:16 CET 2003

"Wouter van Marle" <wouterm at> wrote in message
news:b08ank$dak12 at
> Hi All,
> Can anyone recommend me an introduction on object oriented
programming in
> general, and the trick in Python? Preferrably tutorial on the web or

One possibility: pick one of the library modules that defines a class
that does something of interest (and comprehension) to you.  Read the
source code (and maybe the test module also, if you can find it in
Lib/Test).  Import the class into the interpreter and exercise some of
the methods.   Define a derived class and override one of the methods.
(And *do not* worry about metaclasses, properties, slots, etc until
you are comfortable with the basics.)

Terry J. Reedy

More information about the Python-list mailing list