Chapter Three. Object-Oriented Programming

Your next step to programming effectively is conceptually simple. Now that you know how to use built-in data types, you will learn in this chapter how to use, create, and design higher-level data types.

An abstraction is a simplified description of something that captures its essential elements while suppressing all other details. In science, engineering, and programming, we are always striving to understand complex systems through abstraction. In Python programming, we do so with object-oriented programming, where we break a large and potentially complex program into a set of interacting elements, ...

Get Introduction to Programming in Python: An Interdisciplinary Approach now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.