Skip to content

Glossary: Python Beyond the Basics

class

Also written: classes

A blueprint for making your own type of object, bundling data and the methods that work on it. GiftCard is a class describing every gift card in the shop.

Where the book teaches it

Related terms

instancemethodattribute