Python 3: Deep Dive (Part 4 – OOP)

Python 3: Deep Dive (Part 4 – OOP)
Python 3: Deep Dive (Part 4 – OOP)

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 28 Hours | 16.6 GB
eLearning | Skill level: All Levels


Python Object Oriented Programming (OOP)

This Python3: Deep Dive Part 4 course takes a closer look at object oriented programming (OOP) in Python.

MAIN COURSE TOPICS

  • what are classes and instances
  • class data and function attributes
  • properties
  • instance, class and static methods
  • polymorphism and the role special functions play in this
  • single inheritance
  • slots
  • the descriptor protocol and its relationship to properties and functions
  • enumerations
  • exceptions

What you’ll learn

  • Python Object Oriented Concepts
  • Classes
  • Methods and Binding
  • Instance, Class and Static Methods
  • Properties
  • Property Decorators
  • Single Inheritance
  • Slots
  • Descriptors
  • Enumerations
  • Exceptions
+ Table of Contents

Introduction
1 Introduction
2 Prerequisites

Classes
3 Introduction
4 Data Attributes – Lecture
5 Data Attributes – Coding
6 Function Attributes – Lecture
7 Function Attributes – Coding
8 Initializing Class Instances – Lecture
9 Initializing Class Instances – Coding
10 Creating Attributes at Run-Time – Lecture
11 Creating Attributes at Run-Time – Coding
12 Properties – Lecture
13 Properties – Coding
14 Objects and Classes – Lecture
15 Property Decorators – Lecture
16 Property Decorators – Coding
17 Read-Only and Computed Properties – Lecture
18 Read-Only and Computed Properties – Coding
19 Deleting Properties – Lecture
20 Deleting Properties – Coding
21 Some Questions on the Property Class
22 Class and Static Methods – Lecture
23 Class and Static Methods – Coding
24 Python Builtin and Standard Types
25 Objects and Classes – Coding
26 Class Body Scope – Lecture
27 Class Body Scope – Coding
28 Quick Recap
29 Class Attributes – Lecture
30 Class Attributes – Coding
31 Callable Class Attributes – Lecture
32 Callable Class Attributes – Coding
33 Classes are Callables – Lecture
34 Classes are Callables – Coding

Project 1
35 Project Description
36 Project Solution – Transactions
37 Project Solution – Testing with unittest
38 Project Solution – TimeZone
39 Project Solution – Transaction Numbers
40 Project Solution – Account Numbers, Names
41 Project Solution – Preferred TimeZone
42 Project Solution – Account Balance
43 Project Solution – Interest Rate
44 Project Solution – Transaction Codes
45 Project Solution – Confirmation Codes

Polymorphism and Special Methods
46 Introduction
47 Booleans – Lecture
48 Booleans – Coding
49 Callables – Lecture
50 Callables – Coding
51 The del Method – Lecture
52 The del Method – Coding
53 The format Method – Lecture
54 The format Method – Coding
55 str and repr Methods – Lecture
56 str and repr Methods – Coding
57 Arithmetic Operators – Lecture
58 Arithmetic Operators – Coding
59 Rich Comparisons – Lecture
60 Rich Comparisons – Coding
61 Hashing and Equality – Lecture
62 Hashing and Equality – Coding

Project 2
63 Project Description
64 Project Solution

Single Inheritance
65 Introduction
66 Delegating to Parent – Lecture
67 Delegating to Parent – Coding
68 Slots – Lecture
69 Slots – Coding
70 Slots and Single Inheritance – Lecture
71 Slots and Single Inheritance – Coding
72 Single Inheritance – Lecture
73 Single Inheritance – Coding
74 The object Class – Lecture
75 The object Class – Coding
76 Overriding – Lecture
77 Overriding – Coding
78 Extending – Lecture
79 Extending – Coding

Project 3
80 Project 3 – Description
81 Project Solution – Approach and Setup
82 Project Solution – Validators and tests
83 Project Solution – Resources class and tests
84 Project Solution – CPU class and tests
85 Project Solution – Storage class and tests
86 Project Solution – HDD and SSD classes and tests

Descriptors
87 Introduction
88 Back to Instance Properties – Lecture
89 Back to Instance Properties – Coding
90 The set name Method – Lecture
91 The set name Method – Coding
92 Property Lookup Resolution – Lecture
93 Property Lookup Resolution – Coding
94 Properties and Descriptors – Lecture
95 Properties and Descriptors – Coding
96 Application – Example 1
97 Application – Example 2
98 Descriptors – Lecture
99 Functions and Descriptors – Lecture
100 Functions and Descriptors – Coding
101 Descriptors – Coding
102 Getters and Setters – Lecture
103 Getters and Setters – Coding
104 Using as Instance Properties – Lecture
105 Using as Instance Properties – Coding
106 Strong and Weak References – Lecture
107 Strong and Weak References – Coding

Project 4
108 Project Description
109 Solution – Part 1
110 Solution – Part 2

Enumerations
111 Introduction
112 Automatic Values – Coding
113 Making the case for Enumerations
114 Enumerations – Lecture
115 Enumerations – Coding
116 Aliases – Lecture
117 Aliases – Coding
118 CustomizingExtending Enums – Lecture
119 CustomizingExtending Enums – Coding
120 Automatic Values – Lecture

Project 5
121 Project Description
122 Project Solution

Exceptions (Single Inheritance)
123 Introduction
124 Python Exceptions – Lecture
125 Python Exceptions – Coding
126 Handling Exceptions – Lecture
127 Handling Exceptions – Coding
128 Raising Exceptions – Lecture
129 Raising Exceptions – Coding
130 Custom Exceptions – Lecture
131 Custom Exceptions – Coding

Project 6
132 Project Description
133 Project Solution