Saltar al contenido principal
InicioPythonIntermediate Object-Oriented Programming in Python

Intermediate Object-Oriented Programming in Python

Build your OOP skills with descriptors, multilevel inheritance, and abstract base classes!

Comience El Curso Gratis
4 horas11 vídeos40 ejercicios

Crea Tu Cuenta Gratuita

GoogleLinkedInFacebook

o

Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.
Group¿Entrenar a 2 o más personas?Pruebe DataCamp para empresas

Preferido por estudiantes en miles de empresas


Descripción del curso

Level up your OOP skills!

Ready to unlock the power of object-oriented programming? You’re in the right place! In this course, you’ll build on the foundations of object-oriented programming to develop and hone the skills you need to write robust, production-ready code with Python.

Multilevel inheritance and method overloading

Apply the basic principles of inheritance to create classes that inherit functionality from more than a single parent. Unlock a new array of capabilities with method overloading to create your own implementations of built-in operators, enabling your classes to be used in new and exciting ways.

Type Hinting and Descriptors

Take your skills to the next level with type hinting, and watch as your code becomes easier to read, write, and troubleshoot. Customize the way an attribute is set, accessed, and deleted using descriptors and other Python-native techniques. Learn to build your own custom iterators to navigate a collection or generate a stream of data.

Abstract Base Classes and Design Patterns

Discover the power of abstract base classes and how they can be used to create "blueprints" for similar classes. Practice building formal and informal interfaces to create and implement contracts between classes. Finally, the course will be wrapped up by architecting and building classes using the factory method design pattern.
Empresas

Group¿Entrenar a 2 o más personas?

Obtenga acceso de su equipo a la biblioteca completa de DataCamp, con informes centralizados, tareas, proyectos y más
Pruebe DataCamp Para EmpresasPara obtener una solución a medida, reserve una demostración.
  1. 1

    Overloading and Multiple Inheritance

    Gratuito

    Recall the fundamentals of object-oriented programming, and unlock the functionality of Python operators using overloading. Design and build classes that implement multiple and multilevel inheritance.

    Reproducir Capítulo Ahora
    Fundamentals of Object-Oriented Programming
    50 xp
    Creating and using classes
    100 xp
    Inheriting a Computer class
    100 xp
    Overloading the == operator
    100 xp
    Overloading Python Operators
    50 xp
    Overloading ==
    100 xp
    Overloading +
    100 xp
    Creating a Network of Computers
    100 xp
    Multiple Inheritance
    50 xp
    Multiple inheritance
    100 xp
    Multilevel inheritance
    100 xp
    MRO for multiple inheritance
    50 xp
  2. 2

    Custom Class Features and Type Hints

    Level-up your Python skills with type hinting. Practice creating magic methods to handle attempts to access an attribute outside an object’s namespace, or customize how an attribute is set. Build descriptors to control the way an attribute is stored, retrieved or deleted, and create your own custom iterators to traverse a collection of objects or a data stream.

    Reproducir Capítulo Ahora
  3. 3

    Object-oriented design patterns

    Learn to build "blueprints" for Python classes using abstract base classes. Explore how interfaces create contracts to be fulfilled by other classes. Leverage interfaces and build classes using the factory method design pattern.

    Reproducir Capítulo Ahora
Empresas

Group¿Entrenar a 2 o más personas?

Obtenga acceso de su equipo a la biblioteca completa de DataCamp, con informes centralizados, tareas, proyectos y más

colaboradores

Collaborator's avatar
George Boorman
Collaborator's avatar
Katerina Zahradova
Collaborator's avatar
Stanislav Konkin

requisitos previos

Introduction to Object-Oriented Programming in Python
Jake Roach HeadshotJake Roach

Data Engineer

Ver Más

¿Qué tienen que decir otros alumnos?

¡Únete a 14 millones de estudiantes y empieza Intermediate Object-Oriented Programming in Python hoy mismo!

Crea Tu Cuenta Gratuita

GoogleLinkedInFacebook

o

Al continuar, acepta nuestros Términos de uso, nuestra Política de privacidad y que sus datos se almacenan en los EE. UU.