-
Course
- Core Tech
Core Python: Abstract Base Classes
This course will teach you how to apply and reason about Python’s support for abstract base classes and virtual inheritance.
What you'll learn
Abstract base classes assist in many different areas within Python. In this course, Core Python: Abstract Base Classes, you’ll learn to work with and design programs using Python support for abstract base classes. First, you’ll explore the concept of abstract base classes along with Python’s core support for it. Next, you’ll discover parts of Python’s standard library that help you work with abstract base classes. Finally, you’ll learn how to use abstract methods in your class designs. When you’re finished with this course, you’ll have the skills and knowledge of abstract classes and virtual inheritance needed to apply them in your designs and work with code that uses them.
Table of contents
- Abstract Base Classes | 4m 10s
- Duck Typing | 1m 8s
- Abstract Base Classes in Python | 5m 16s
- Interaction with issubclass() | 2m 22s
- Defining __subclasscheck__ in Practice | 7m 34s
- Virtual Base Classes from collections.abc | 2m 42s
- Non-transitive Subclass Relationships | 2m 34s
- Method Resolution with Virtual Base Classes | 1m 42s
About the authors
Austin is a founding director of Sixty North, a software consulting, training, and application development company. He's a native of Texas but currently lives in Norway where he writes software, runs a local software interest group, and presents and teaches whenever he can.
More Courses by AustinRobert Smallshire is a founding director of Sixty North, a software product and consulting business in based in Norway. He has held several senior software architecture and technical management roles, and he is a regular conference speaker. Python is his weapon of choice.
More Courses by Robert