Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter.
Eric S. Raymond (author of “The Cathedral and the Bazaar”)
CHAPTER 14
Advanced Class
This chapter aims to provide an advanced concept of Object Oriented Programming (OOP), such as overloading, overriding, static, and class methods, abstract base class (ABC), and metaclass.
Learning Objectives
At the end of the chapter, the reader will be able to:
- Understanding how method overloading is implemented in Python.
- Learning to overload an operator in Python.
- Learn how to override a method in a class.
- Understanding the concept of abstract base class.
- Learning about the meta class.
14.1 Overloading ...
Get Python Programming by Pearson now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.