O'Reilly logo

Python in 24 Hours, Sams Teach Yourself, Second Edition by Katie Cunningham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 12. Expanding Classes to Add Functionality

What You’ll Learn in This Hour:

Image How to use built-in extras with classes

Image How to use class inheritance

Image When to expand classes in the real world

So far, you’ve learned the basics of how to create a class. We’ve only just scratched the surface, though. There’s so much more we can use to make our classes act more like the data types we’ve been using so far, and how to build one class off of another class. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required