
Back End DevelopmentPythonIntermediate
PYTHON OOP
Learn the main concepts of OBJECT-ORIENTED PYTHON and build your first design patterns!
🚀 Start✓ Free access
📋 Course syllabus
CLASSES
1
01 - How to create a class?
Lesson
1m37
2
02 - Our class instance
Lesson
1m40
3
03 - What is found in a class?
Lesson
2m27
4
04 - Creating a method in a class
Lesson
2m05
5
05 - Methods and returned data types
Lesson
42s
6
06 - The Docstring in Python
Lesson
59s
7
07 - Recap
Lesson
45s
8
08 - Exercise
Lesson
9m03
CONSTRUCTORS
9
09 - Creating a constructor
Lesson
2m13
10
10 - Calling a method in a constructor
Lesson
2m38
11
11 - Can a class have several constructors?
Lesson
1m52
ATTRIBUTES
12
12 - A reminder on class attributes
Lesson
3m49
13
13 - The dir function
Lesson
42s
14
14 - Accessing the value of an instance attribute
Lesson
28s
15
15 - Changing the value of an instance attribute
Lesson
33s
16
16 - Conclusion
Lesson
31s
17
17 - Class attributes
Lesson
3m09
18
18 - Example
Lesson
2m25
19
19 - Can I access and modify class attributes from an object?
Lesson
2m29
20
20 - Variables and object references
Lesson
3m49
21
21 - Exercise
Lesson
3m52
METHODS
22
22 - A reminder on class methods
Lesson
3m18
23
23 - Methods with parameters
Lesson
1m34
24
24 - Several methods with the same name?
Lesson
2m14
INHERITANCE
25
25 - Inheritance in Python
Lesson
8m14
26
26 - Overriding the parent class method
Lesson
3m47
27
27 - How to call a parent class method when overriding
Lesson
3m
28
28 - Method overriding with the constructor
Lesson
2m40
29
29 - Calling the parent constructor
Lesson
4m26
30
30 - Multiple inheritance
Lesson
1m12
31
31 - Exercise
Lesson
11m34
32
32 - Method resolution order
Lesson
1m39
33
33 - Example
Lesson
2m51
34
34 - A more complex example
Lesson
1m20
35
35 - Introduction to the final exercise
Lesson
2m22
36
36 - Final exercise solution
Lesson
6m59
ENCAPSULATION
37
37 - Explanation and public attributes
Lesson
3m09
38
38 - Protected attributes
Lesson
2m35
39
39 - The limits of encapsulation
Lesson
3m46
40
40 - Private attributes
Lesson
4m35
41
41 - Name mangling in Python
Lesson
1m04
42
42 - Accessing attributes with methods
Lesson
6m16
43
43 - Accessing attributes with properties
Lesson
6m30
44
44 - Decorators in Python
Lesson
3m46
45
45 - Conclusion on encapsulation
Lesson
1m07
46
46 - Creating your own decorator
Lesson
3m40
47
47 - The dir function and the dict attribute
Lesson
54s
48
48 - Static methods
Lesson
2m51
POLYMORPHISM
49
49 - The advantages of polymorphism
Lesson
8m19
ABSTRACTION
50
50 - Explanations
Lesson
3m23
51
51 - Problem and solution
Lesson
5m16
52
52 - Abstract methods with parameters
Lesson
5m08
53
53 - Exercise
Lesson
8m56
54
54 - Conclusion
Lesson
36s