6 Things to Know About Subclassing in Python — Why and How

Touching base on some core features in Python as an OOP language

Yong Cui
Better Programming
Published in
9 min readApr 18, 2022

--

Photo by Robert Collins on Unsplash

At its core, Python is an OOP language by design. It has everything implemented as objects, packages, modules, classes, functions, and certainly instance objects of classes. When we build our applications, we usually must create custom classes to bundle…

--

--

Work at the nexus of biomedicine, data science & mobile dev. Author of Python How-to by Manning (https://www.manning.com/books/python-how-to).