May 2019
Beginner
528 pages
29h 51m
English
Section 1.5 introduced the basic terminology and concepts of object-oriented programming. Everything in Python is an object, so you’ve been using objects constantly throughout this book. Just as houses are built from blueprints, objects are built from classes—one of the core technologies of object-oriented programming. Building a new object from even a large class is simple—you typically write one statement.
You’ve already used lots of classes created by other people. In this chapter you’ll learn how to create your own custom classes. You’ll focus on “crafting valuable classes” that help you meet the requirements of the applications you’ll build. You’ll use object-oriented programming with its core ...
Read now
Unlock full access