Hour 11. Making Classes

What You’ll Learn in This Hour:

Image How to make a basic class statement

Image How to add methods to a class

Image How to set up a class instance

Image When to use classes in the real world

In the last hour, we dove into the theory of object-oriented programming and saw that the data types that come with Python are already objects. In this hour, ...

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.