Writing Python code might seem easy at first. However, not commanding the art of writing pythonic code will soon turn expanding codes into a spaghetti one. Python offers some unique functionalities to handle classes and methods that enable programmers use the best of two words: Object-Oriented and Functional Programming. Taking advantage of these methods not only ease the development and utilization of the code, but also improve the performance of tools and software developed by Python.
This course is intended to enhance your knowledge in developing pythonic codes with tools provided by Python 3. Even if you have a solid background in programming, this course can help you mastering the unique functionalities provided by Python for OOP.
-
Duration
1 day -
Goal
-
Target group
-
Contents
What is Object-Oriented Programming?
Classes and Object Instances in Python
-
- Defining a class
- Instance attributes
- Class attributes
- Superclass implementation of a method
Working with Methods and Iterators
-
- Defining a method
- Basic attribute processing
- Modifying attributes
- The __init__() method
- Defining and usage of iterators
- Creating description
Python Object-Oriented Programming Inheritance
-
- Class hierarchy
- Parent vs. Child Classes
- Extending and overriding functionalities of a parent class
Defining and working with Modules and Packages
-
- Building modules
- Referencing modules
- Locating modules
- Defining and using Packages
Decorator and annotation as Functional Programming tools in Python
-
- Simple decorator
- Function decorators
- Class decorators
- Usage of wraps from functools
Errors and Exception handling
-
- Typical error and exceptions
- Raising an exception
- User-defined exceptions
- Clean-up actions
-
-
Requirements
Wenn du bereits solides Hintergrundwissen in der Programmierung besitzt, wird dir dieser Kurs helfen, die einzigartigen Funktionalitäten, die Python für OOP bietet, zu erlernen.
-
Follow-up Courses and Workshops
-
Recommended Courses & Workshops
Contact to our service center
+49 (0) 711 90363245
+41 (0) 584 595795
+43 (01) 33 2353160
+41 (0) 584 595454
Early booking pays off
Book your training at least 3 or 6 months before the start of the course and take advantage of the flexible pricing.
> 6 months
€ 530,00
> 3 months
€ 600,00
0-3 months
€ 660,00
Place | Date | Language | Price | |
---|---|---|---|---|
Virtual Classroom | 25.09 - 26.09.2023 | de | € 530,00 | |
In-house training courses on request | Inquiry |
- Guaranteed to take place
- The course will definitely take place if you make a booking
- There are no free places left on this course. If you still book it, we will place you on the waiting list.
- The course price is shown in the currency EUR. For orders from Switzerland, we convert the price into CHF and take into account the appropriate VAT rate. We are also happy to assist you with your order by telephone: CH +41 58 459 57 95 or DE +49 711 903 632 45.