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. ...

Get Python in 24 Hours, Sams Teach Yourself, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.