Python Beyond the Basics – Object-Oriented Programming

Python Beyond the Basics – Object-Oriented Programming

English | 2015 | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 5 Hours | 1.25 GB

From Classes To Inheritance – OOP In-Depth For Python Programmers

In this Python Beyond the Basics – Object-Oriented Programming training course, expert author David Blaikie will teach you how to design Python classes, and how to implement object-oriented programming concepts in Python. This course is designed for users that already have a basic working knowledge of Python.

You will start by learning about classes, including defining a class, class attributes, and working with class and instance data. From there, David will teach you about inheritance and polymorphism. This video tutorial also covers advanced features, such as implementing core syntax, subclassing built-ins, and new style classes. You will also learn about exceptions and object serialization. Finally, David will teach you about efficiency and testing, including debugging, logging, and benchmarking.

Once you have completed this computer based training course, you will be fully capable of designing your own Python classes, as well as implementing object-oriented programming concepts in Python.

Table of Contents

Introduction To Object Oriented Python
01 Introduction And About The Author
02 What Is Object Oriented Programming And Why
03 Object-Oriented Python
04 Modules Versus Classes

Getting Started
05 Prerequisites And Toolkit
06 Choosing An IDE Or Text Editor And Workflow

Classes
07 Classes, Instances, Attributes And Methods
08 Defining A Class
09 Instance Methods
10 Instance Attributes
11 Encapsulation
12 Init Constructor
13 Class Attributes
14 Working With Class And Instance Data
15 Assignment 1
16 Assignment 1 – Solution

Inheritance And Polymorphism
17 Inheriting Attributes
18 Inheritance Examples
19 Polymorphism
20 Inheriting The Constructor
21 Multiple Inheritance And The Lookup Tree
22 Decorators, Static And Class Methods
23 Abstract Classes
24 Method Overloading – Extending And Providing
25 Composition Versus Inheritance
26 Assignment 2
27 Assignment 2 – Solution
28 Assignment 2 For Extra Credit – Solution

Advanced Features
29 Implementing Core Syntax
30 Subclassing Built-Ins
31 Attribute Encapsulation
32 Private Variable Names
33 With Context
34 New Style Classes
35 Assignment 3
36 Assignment 3 – Supplementary Hints
37 Assignment 3 – Solution

Exceptions
38 Trapping And Raising Exceptions
39 Custom Exceptions
40 Assignment 4
41 Assignment 4 – Solution

Object Serialization
42 Pickle
43 JSON
44 YAML
45 Assignment 5
46 Assignment 5 – Solution

Efficiency And Testing
47 Debugging – PDB
48 Logging
49 Benchmarking – The Timeit Module
50 The Pytest Module – Part 1
51 The Pytest Module – Part 2
52 Assignment 6
53 Assignment 6 – Solution

Conclusion
54 What We Have Learned
55 Where To Go From Here