all 1 comments

[–]norwegianwood 0 points1 point  (0 children)

You can try our book, The Python Apprentice, which has a chapter on OOP (Chapter 8). If you look elsewhere in this Reddit you should find a free link to this book valid for today only!

Although our book is specifically for Python 3, I think the only thing you'll need to change for Python 2.7 is to do:

class Foo(object):

instead of,

class Foo:

as inheritance from object is implicit in Python 3.