Przejdź do treści głównej
DomPython

course

Intermediate Object-Oriented Programming in Python

ZaawansowanyPoziom umiejętności
Zaktualizowano 02.2025
Build your OOP skills with descriptors, multilevel inheritance, and abstract base classes!
Rozpocznij Kurs Za Darmo
PythonProgramming4 godz.11 videos40 Exercises3,300 PD8,195Oświadczenie o osiągnięciu

Utwórz bezpłatne konto

Lub

Kontynuując, akceptujesz nasze Warunki korzystania, naszą Politykę prywatności oraz fakt, że Twoje dane są przechowywane w USA.

Uwielbiany przez pracowników tysięcy firm

Group

Szkolenie 2 lub więcej osób?

Wypróbuj DataCamp for Business

Opis kursu

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.

Wymagania wstępne

Introduction to Object-Oriented Programming in Python
1

Overloading and Multiple Inheritance

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.
Rozpocznij Rozdział
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.
Rozpocznij Rozdział
3

Object-oriented design patterns

Intermediate Object-Oriented Programming in Python
Kurs
ukończony

Zdobądź oświadczenie o osiągnięciach

Dodaj te dane uwierzytelniające do swojego profilu na LinkedIn, CV lub życiorysu
Udostępnij w mediach społecznościowych i w swojej ocenie okresowej
Zapisz Się Teraz

Dołącz do nas 19 milionów uczniów i zacznij Intermediate Object-Oriented Programming in Python już dziś!

Utwórz bezpłatne konto

Lub

Kontynuując, akceptujesz nasze Warunki korzystania, naszą Politykę prywatności oraz fakt, że Twoje dane są przechowywane w USA.

Rozwijaj swoje umiejętności w zakresie danych dzięki DataCamp dla urządzeń mobilnych

Rób postępy w podróży dzięki naszym kursom mobilnym i codziennym 5-minutowym wyzwaniom kodowania.