Abstract Base Class and Concrete Class

Learn about creating and implementing an abstract base class and implementing it in a concrete class using Python.

Imagine we are creating a media player with third-party plugins. It is advisable to create an abstract base class (ABC) in this case to document what API the third-party plugins should provide (documentation is one of the stronger use cases for ABCs).

Get hands-on with 1200+ tech skills courses.