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 hours
Online
English
SCRIPT-003
Object-oriented Programming in Python
Sign Up
Duration
20 hours
Location
Online
Language
English
Code
SCRIPT-003
Schedule and prices
10.10.2022 - 14.10.2022
€ 470
Training for 7-8 or more people? Customize trainings for your specific needs
Object-oriented Programming in Python
Sign Up
Duration
20 hours
Location
Online
Language
English
Code
SCRIPT-003
Schedule and prices
10.10.2022 - 14.10.2022
€ 470
Training for 7-8 or more people? Customize trainings for your specific needs

Description

This training looks at all aspects of object-oriented programming in Python. Well 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 an object and learn why its 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.

After this, you will learn how to return resources to the system, which it lends to the developer who does not always returns them. Youll learn how to guarantee that by using the context manager. Well see how to sum up, extract and multiply user classes by using Pythons magic methods.

And last but not least well 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.
After completing the course, a certificate
is issued on the Luxoft Training form

Objectives

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

Target Audience

Developers, system administrators and QA engineers, who want to be able to develop, automate and test applications and systems using one of the most powerful programming languages available today.

Prerequisites

  • Basic general programming knowledge
  • Ability to understand logical code flows
  • Python basics course or previous contact with Python

Roadmap

  • Python best practices

    • Code documenting
    • __slots__
    • Static fields and methods
    • Organizing code by modules
  • Function as object

    • Working with function parameters
    • Closure
    • Decorator
    • Functor
    • Predicate
  • Object life cycle

    • Customizing object creation
    • Handling non-existing fields and methods of an object
    • Customizing object destruction
  • Working with resources

    • Context manager
    • Implementing your own context manager
  • 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
  • Iterator and generator

    • Concept of iterator
    • Implementing a classical iterator in Python
    • Yield operator
    • Data structure generators based on list comprehensive statements
  • Show Entire Program
Schedule and prices
View:
10.10.2022 - 14.10.2022
10:00-14:00
Location:Online
Duration:20 hours
Language:English
Time:10:00-14:00
Timezone:UTC +3
Trainer: Savlushin Dmytriy
Trainer Savlushin Dmytriy
€ 470
Sign Up
View Entire Schedule
Reviews (1)
The great thing in the presentation was the ability to care to explain every detail that may not have been understood by any participant. I got answers for ALL my questions. Everything was organized professionally. Keep up the good work! :) This was one of the best courses I've attended here at Luxoft. Waiting for more courses on Java, C/C++, Ruby, PHP, ASP.NET, etc.
Alexandru
Courses you may be interested in
Risk Management
This course is designed to give project managers the necessary knowledge and skills to manage risks by offering them a precise understanding of the subject and best practices in software development projects.
PM-007
20 hours
Sign Up
Python Basics
This Python training course leads the students from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, error handling, system and network programming and the use of the extensive functionality of Python modules.
Python Fundamentals
This complex training course helps participants understand the Python language from the basic aspects to the more advanced functions.
Online:
01.11.2022 - 18.11.2022
Online:
14.11.2022 - 23.11.2022
View Catalog
Your benefits
Expertise
Our trainers are industry experts, involved in software development project
Live training
Facilitated online so that you can interact with the trainer and other participants
Practice
A focus on helping you practice your new skills
Still have questions?
Connect with us
Thank you.
Your request has been received.
Thank you!
The form has been submitted successfully.