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

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