Object-oriented Programming in Python

Object-oriented Programming in Python

We cover the application of object-oriented approach in Python. From encapsulation to polymorphism, from the simplest custom type of data to complex classes deeply integrated in Python.

Продолжительность
20 часы
Тип курсу
Онлайн
Мова
Англійська
Продолжительность
20 часы
Місцезнаходження
Онлайн
Мова
Англійська
Код
SCRIPT-003
Тренінг для 7-8 чи більше людей? Налаштуйте тренінги для ваших конкретних потреб
Object-oriented Programming in Python
Продолжительность
20 часы
Місцезнаходження
Online
Мова
English
Код
SCRIPT-003
€ 600 *
Тренінг для 7-8 чи більше людей? Налаштуйте тренінги для ваших конкретних потреб

опис

This course covers all aspects of object-oriented programming in Python. We will start from encapsulation and an interesting key word __slots__, and then discuss why we need packages and how to make a virtual “sandbox” for a Python project.

Next we review function as object and learn why it’s useful for a developer. This section focuses on an important theme – decorator, which can greatly simplify your code with cross-functionality.

Then we move to the object life cycle, and learn how to create your own type on the basis of existing base types and why it is necessary, and what happens when and how an object is created and destroyed.

Next, you will learn how to return resources to the system, which it lends to the developer who does not always returns them. You’ll learn how to guarantee that by using the context manager.

After that, we’ll see how to sum up, extract and multiply user classes by using Python’s magic methods.

In conclusion, we’ll discuss how to hide the algorithm for bypassing data structures or data generation based on iterates, yield operators, and review the method of data structure generation by using simplified Python syntax.

сертифікат
Після проходження курсу видається сертифікат
на бланку Luxoft Training

Цілі

  • Learn about the advanced features of Python for creating highly efficient and re-usable code

Цільова аудиторія

This course is intended for developers, system administrators, and QA engineers who wish to be able to develop, automate and test applications and systems using one of the most powerful programming languages available today.

передумови

  • Basic general knowledge of programming and scripting languages;
  • Ability to understand logical code flows;
  • Python basics course or previous contact with Python (personal projects, previous jobs, etc.)

Дорожня карта

  1. Python best practices: code documenting, __slots__, static fields and methods, organizing code by modules
  2. Function as object: working with function parameters, closure, decorator, functor, predicate
  3. Object life cycle: customizing object creation, handling non-existing fields and methods of an object, customizing object destruction
  4. Working with resources: context manager, implementing your own context manager
  5. Object handling: magic methods for object comparison operation. Magic methods for implementing arithmetic operations and typing operation. Magic methods for customizing object view in output flow. Magic methods for customizing object cloning
  6. Iterator and generator: concept of iterator, implementing a classical iterator in Python, yield operator, data structure generators based on list comprehensive statements
Залишилися запитання?
Зв'яжітьсяз нами