René's URL Explorer Experiment


Title: Inheritance and Composition: A Python OOP Guide – Real Python

Open Graph Title: Inheritance and Composition: A Python OOP Guide – Real Python

Description: In this step-by-step course, you'll learn about inheritance and composition in Python. You'll improve your object-oriented programming (OOP) skills by understanding how to use inheritance and composition and how to leverage them in their design.

Open Graph Description: In this step-by-step course, you'll learn about inheritance and composition in Python. You'll improve your object-oriented programming (OOP) skills by understanding how to use inheritance and composition and how to leverage them in their design.

Opengraph URL: https://realpython.com/courses/inheritance-composition-python/

X: @realpython

direct link

Domain: realpython.com


Hey, it has json ld scripts:
{
  "@context": "https://schema.org",
  "@type": "Course",
  "@id": "https://realpython.com/courses/inheritance-composition-python/",
  "url": "https://realpython.com/courses/inheritance-composition-python/",
  "name": "Inheritance and Composition: A Python OOP Guide",
  "description": "In this step-by-step course, you'll learn about inheritance and composition in Python. You'll improve your object-oriented programming (OOP) skills by understanding how to use inheritance and composition and how to leverage them in their design.",
  "availableLanguage": [
    "en"
  ],
  "educationalLevel": "Intermediate",
  "educationalCredentialAwarded": {
    "@type": "EducationalOccupationalCredential",
    "credentialCategory": "Certificate",
    "name": "Real Python Certificate of Completion"
  },
  "hasCourseInstance": [
    {
      "@type": "CourseInstance",
      "courseMode": "Online",
      "courseWorkload": "PT368M22S",
      "instructor": {
        "@type": "Person",
        "name": "Austin Cepalia",
        "image": "https://realpython.com/cdn-cgi/image/width=1242,height=1242,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/acephalia.ca20b133823e.jpeg",
        "url": "https://realpython.com/team/acepalia/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      }
    }
  ],
  "image": {
    "@type": "ImageObject",
    "url": "https://files.realpython.com/media/Inheritance-vs-Composition-in-Python_Watermarked_1.aec726368a97.jpg",
    "width": 1920,
    "height": 1080
  },
  "inLanguage": "en",
  "provider": {
    "@type": "Organization",
    "@id": "https://realpython.com/#organization",
    "name": "Real Python",
    "url": "https://realpython.com",
    "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
  },
  "publisher": {
    "@type": "Organization",
    "@id": "https://realpython.com/#organization",
    "name": "Real Python",
    "url": "https://realpython.com",
    "logo": {
      "@type": "ImageObject",
      "url": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png",
      "width": 512,
      "height": 512
    },
    "description": "Real Python is a leading provider of online Python education and one of the largest language-specific online communities for software developers. It publishes high-quality learning resources, such as tutorials, books, and courses to an audience of millions of developers, data scientists, and machine learning engineers each month.",
    "slogan": "Become a Python Expert",
    "email": "info@realpython.com",
    "sameAs": [
      "https://github.com/realpython",
      "https://www.youtube.com/realpython",
      "https://twitter.com/realpython",
      "https://x.com/realpython",
      "https://www.linkedin.com/company/realpython-com/",
      "https://www.facebook.com/learnrealpython",
      "https://www.instagram.com/realpython",
      "https://www.tiktok.com/@realpython.com"
    ]
  },
  "syllabusSections": [
    {
      "@type": "Syllabus",
      "name": "Inheritance and Composition: A Python OOP Guide"
    }
  ],
  "offers": [
    {
      "@type": "Offer",
      "category": "Subscription"
    }
  ],
  "datePublished": "2020-04-14",
  "dateModified": "2020-05-22"
}

authorReal Python
twitter:cardsummary_large_image
twitter:imagehttps://files.realpython.com/media/Inheritance-vs-Composition-in-Python_Watermarked_1.aec726368a97.jpg
og:imagehttps://files.realpython.com/media/Inheritance-vs-Composition-in-Python_Watermarked_1.aec726368a97.jpg
twitter:creator@realpython
og:typearticle

Links:

https://realpython.com/
Start Herehttps://realpython.com/start-here/
Learn Python https://realpython.com/courses/inheritance-composition-python/
Python Tutorials →In-depth articles and video courseshttps://realpython.com/search?kind=article&kind=course&order=newest
Learning Paths →Guided study plans for accelerated learninghttps://realpython.com/learning-paths/
Quizzes & Exercises →Check your learning progresshttps://realpython.com/quizzes/
Browse Topics →Focus on a specific area or skill levelhttps://realpython.com/tutorials/all/
Community Chat →Learn with other Pythonistashttps://realpython.com/community/
Office Hours →Live Q&A calls with Python expertshttps://realpython.com/office-hours/
Podcast →Hear what’s new in the world of Pythonhttps://realpython.com/podcasts/rpp/
Books →Round out your knowledge and learn offlinehttps://realpython.com/products/books/
Reference →Concise definitions for common Python termshttps://realpython.com/ref/
Code Mentor →BetaPersonalized code assistance & learning toolshttps://realpython.com/mentor/
Unlock All Content →https://realpython.com/account/join/
More https://realpython.com/courses/inheritance-composition-python/
Learner Storieshttps://realpython.com/learner-stories/
Python Newsletterhttps://realpython.com/newsletter/
Python Job Boardhttps://www.pythonjobshq.com
Meet the Teamhttps://realpython.com/team/
Become a Tutorial Writerhttps://realpython.com/write-for-us/
Become a Video Instructorhttps://realpython.com/become-an-instructor/
Searchhttps://realpython.com/search
https://realpython.com/search
Joinhttps://realpython.com/account/join/
Sign‑Inhttps://realpython.com/account/login/?next=%2Fcourses%2Finheritance-composition-python%2F
https://realpython.com/courses/inheritance-composition-python/continue/
https://realpython.com/courses/inheritance-composition-python/#team
Austin Cepaliahttps://realpython.com/courses/inheritance-composition-python/#team
intermediatehttps://realpython.com/tutorials/intermediate/
best-practiceshttps://realpython.com/tutorials/best-practices/
pythonhttps://realpython.com/tutorials/python/
Start Now https://realpython.com/courses/inheritance-composition-python/continue/
Rate and Reviewhttps://realpython.com/feedback/survey/course/inheritance-composition-python/feedback/?from=course
Inheritancehttps://en.wikipedia.org/wiki/Inheritance_(object-oriented_programming)
compositionhttps://en.wikipedia.org/wiki/Object_composition
object oriented designhttps://realpython.com/python3-object-oriented-programming/
Q&A With Python Experts: Ask a Questionhttps://realpython.com/courses/inheritance-composition-python/discussion/
Sample Code (.zip)https://realpython.com/courses/inheritance-composition-python/downloads/oop-inheritance-composition-code/
Object-Oriented Programming (OOP)https://realpython.com/learning-paths/object-oriented-programming-oop-python/
Start Nowhttps://realpython.com/courses/inheritance-composition-python/continue/
1. Inheritance and Composition: A Python OOP Guide (Overview)02:45 https://realpython.com/videos/inheritance-composition-python-overview/
2. What Are Inheritance and Composition?02:17 https://realpython.com/videos/what-are-inheritance-and-composition/
3. Inheritance08:20 https://realpython.com/videos/inheritance/
4. Composition04:41 https://realpython.com/videos/composition/
5. Inheritance in Python07:13 https://realpython.com/videos/inheritance-python/
6. UML Diagrams03:39 https://realpython.com/videos/uml-diagrams/
7. Interfaces11:13 https://realpython.com/lessons/interfaces/
8. Implementing a Class Hierarchy14:13 https://realpython.com/lessons/implementing-class-hierarchy/
9. Abstract Classes05:12 https://realpython.com/lessons/abstract-classes/
10. Implementing the Productivity System07:05 https://realpython.com/lessons/implementing-productivity-system/
11. Multiple Inheritance11:15 https://realpython.com/lessons/multiple-inheritance/
12. C3 Superclass Linearization (Optional)07:55 https://realpython.com/lessons/c3-superclass-linearization-optional/
13. Avoiding the Diamond Problem10:32 https://realpython.com/lessons/avoiding-diamond-problem/
14. Utilizing Composition10:53 https://realpython.com/lessons/utilizing-composition/
15. Flexible Designs With Composition15:43 https://realpython.com/lessons/flexible-designs-composition/
16. Modifying Object Behavior With Composition01:56 https://realpython.com/lessons/modifying-object-behavior-composition/
17. Inheritance Best Practices07:25 https://realpython.com/lessons/inheritance-best-practices/
18. Mixin Classes08:50 https://realpython.com/lessons/mixin-classes/
19. Further Improving Design With Composition15:37 https://realpython.com/lessons/further-improving-design-composition/
20. Composition to Change Runtime Behavior05:20 https://realpython.com/lessons/composition-change-runtime-behavior/
21. Deciding Between Composition and Inheritance03:31 https://realpython.com/lessons/deciding-between-composition-and-inheritance/
22. Inheritance and Composition: A Python OOP Guide (Quiz)04:30 https://realpython.com/lessons/inheritance-and-composition-a-python-oop-guide-quiz/
23. Inheritance and Composition: A Python OOP Guide (Summary)01:15 https://realpython.com/lessons/inheritance-and-composition-python-oop-guide-summary/
Start Nowhttps://realpython.com/videos/inheritance-composition-python-overview/
https://realpython.com/team/acepalia/
» More about Austinhttps://realpython.com/team/acepalia/
https://realpython.com/team/cbailey/
Christopherhttps://realpython.com/team/cbailey/
https://realpython.com/team/jjablonski/
Joannahttps://realpython.com/team/jjablonski/
https://realpython.com/team/tmoore/
Tappanhttps://realpython.com/team/tmoore/
https://realpython.com/team/irodriguez/
Isaachttps://realpython.com/team/irodriguez/
https://realpython.com/team/gahjelle/
Geir Arnehttps://realpython.com/team/gahjelle/
https://realpython.com/team/asantos/
Aldrenhttps://realpython.com/team/asantos/
https://realpython.com/team/aronquillo/
Alexhttps://realpython.com/team/aronquillo/
https://realpython.com/team/mbreuss/
Martinhttps://realpython.com/team/mbreuss/
https://realpython.com/team/sgruppetta/
Stephenhttps://realpython.com/team/sgruppetta/
https://realpython.com/team/kfinegan/
Katehttps://realpython.com/team/kfinegan/
https://realpython.com/team/bweleschuk/
Brendahttps://realpython.com/team/bweleschuk/
https://realpython.com/courses/factory-method-pattern/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=inheritance-composition-python
Implementing the Factory Method Pattern in Pythonhttps://realpython.com/courses/factory-method-pattern/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=inheritance-composition-python
https://realpython.com/courses/solid-principles-python/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=inheritance-composition-python
Design and Guidance: Object-Oriented Programming in Pythonhttps://realpython.com/courses/solid-principles-python/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=inheritance-composition-python
https://realpython.com/courses/getters-and-setters-python/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=inheritance-composition-python
Getters and Setters in Pythonhttps://realpython.com/courses/getters-and-setters-python/?utm_source=realpython&utm_medium=web&utm_campaign=related-course&utm_content=inheritance-composition-python
← Browse All Courseshttps://realpython.com/search?kind=course
Start Herehttps://realpython.com/start-here/
Learning Resourceshttps://realpython.com/search
Code Mentorhttps://realpython.com/mentor/
Python Referencehttps://realpython.com/ref/
Python Cheat Sheethttps://realpython.com/cheatsheets/python/
Support Centerhttps://support.realpython.com/
Learning Pathshttps://realpython.com/learning-paths/
Quizzes & Exerciseshttps://realpython.com/quizzes/
Browse Topicshttps://realpython.com/tutorials/all/
Live Courseshttps://realpython.com/live/
Bookshttps://realpython.com/books/
Podcasthttps://realpython.com/podcasts/rpp/
Newsletterhttps://realpython.com/newsletter/
Community Chathttps://realpython.com/community/
Office Hourshttps://realpython.com/office-hours/
Learner Storieshttps://realpython.com/learner-stories/
Plans & Pricinghttps://realpython.com/account/join/
Team Planshttps://realpython.com/account/join-team/
For Businesshttps://realpython.com/account/join-team/inquiry/
For Schoolshttps://realpython.com/account/join-team/education-inquiry/
Reviewshttps://realpython.com/learner-stories/
About Ushttps://realpython.com/about/
Teamhttps://realpython.com/team/
Mission & Valueshttps://realpython.com/mission/
Editorial Guidelineshttps://realpython.com/editorial-guidelines/
Sponsorshipshttps://realpython.com/sponsorships/
Careershttps://realpython.workable.com
Press Kithttps://realpython.com/media-kit/
Merchhttps://realpython.com/merch
https://www.youtube.com/realpython
https://x.com/realpython
https://www.linkedin.com/company/realpython-com
https://www.facebook.com/LearnRealPython
https://github.com/realpython/
Privacy Policyhttps://realpython.com/privacy-policy/
Terms of Usehttps://realpython.com/terms/
Securityhttps://realpython.com/security/
Contacthttps://realpython.com/contact/
https://realpython.com/

Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover

Robots: max-image-preview:large


URLs of crawlers that visited me.