Real Python
  • Start Here
  • Learn Python
    Python Tutorials →
    In-depth articles and video courses
    Learning Paths →
    Guided study plans for accelerated learning
    Quizzes →
    Check your learning progress
    Browse Topics →
    Focus on a specific area or skill level
    Community Chat →
    Learn with other Pythonistas
    Office Hours →
    Live Q&A calls with Python experts
    Podcast →
    Hear what’s new in the world of Python
    Books →
    Round out your knowledge and learn offline
    Reference →
    Concise definitions for common Python terms
    Code Mentor →Beta
    Personalized code assistance & learning tools
    Unlock All Content →
  • More
    Learner Stories Python Newsletter Python Job Board Meet the Team Become a Tutorial Writer Become a Video Instructor
  • Search
/
  • Join
  • Sign‑In

Inheritance and Composition: A Python OOP Guide (Quiz)

Austin Cepalia
Inheritance and Composition: A Python OOP Guide Austin Cepalia
Recommended Tutorial Sample Code (.zip) Ask a Question
  • Contents
  • Discussion

Become a Member to take the quiz.

Become a Member to join the conversation.

Course Contents

Overview
95%
  • Inheritance and Composition: A Python OOP Guide (Overview) 02:45
  • What Are Inheritance and Composition? 02:17
  • Inheritance 08:20
  • Composition 04:41
  • Inheritance in Python 07:13
  • UML Diagrams 03:39
  • Interfaces 11:13
  • Implementing a Class Hierarchy 14:13
  • Abstract Classes 05:12
  • Implementing the Productivity System 07:05
  • Multiple Inheritance 11:15
  • C3 Superclass Linearization (Optional) 07:55
  • Avoiding the Diamond Problem 10:32
  • Utilizing Composition 10:53
  • Flexible Designs With Composition 15:43
  • Modifying Object Behavior With Composition 01:56
  • Inheritance Best Practices 07:25
  • Mixin Classes 08:50
  • Further Improving Design With Composition 15:37
  • Composition to Change Runtime Behavior 05:20
  • Deciding Between Composition and Inheritance 03:31
  • Inheritance and Composition: A Python OOP Guide (Quiz)
  • Inheritance and Composition: A Python OOP Guide (Summary) 01:15

© 2012–2025 Real Python ⋅ Privacy Policy