Abstract Classes in Python

Speaker : Edouard Pineau
Télécom Paris / Safran
Date: 26/02/2020
Time: 3:00 pm - 4:00 pm
Location: Paris-Rennes Room (EIT Digital)

Abstract

An abstract class can be considered as a blueprint for other classes. It allows you to create a set of methods that must be created within any child classes built from your abstract class.  Abstract class provides default functionality for the subclasses. By defining an abstract base class, you can define a common Application Program Interface(API) for a set of subclasses. This capability is especially useful in situations where a third-party is going to provide implementations, such as with plugins in an application. It can also help you when working on a large team or with a large code-base where keeping all classes in your head at the same time is difficult or not possible.

The notebook.