Oreilly - Python Beyond The Basics - Object Oriented Programming
by | Released March 2015 | ISBN: 9781771373609
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. Show and hide more Publisher resources Download Example Code
- Introduction To Object Oriented Python
- Introduction And About The Author 00:02:58
- What Is Object Oriented Programming And Why? 00:04:24
- Object-Oriented Python 00:06:13
- Modules Versus Classes 00:03:43
- Getting Started
- Prerequisites And Toolkit 00:02:22
- Choosing An IDE Or Text Editor And Workflow 00:03:08
- Classes
- Classes, Instances, Attributes And Methods 00:06:58
- Defining A Class 00:04:53
- Instance Methods 00:05:53
- Instance Attributes 00:03:34
- Encapsulation 00:06:01
- Init Constructor 00:06:04
- Class Attributes 00:03:03
- Working With Class And Instance Data 00:06:25
- Assignment 1 00:03:52
- Assignment 1 - Solution 00:04:02
- Inheritance And Polymorphism
- Inheriting Attributes 00:04:17
- Inheritance Examples 00:06:41
- Polymorphism 00:06:42
- Inheriting The Constructor 00:02:58
- Multiple Inheritance And The Lookup Tree 00:06:18
- Decorators, Static And Class Methods 00:08:10
- Abstract Classes 00:04:20
- Method Overloading - Extending And Providing 00:09:04
- Composition Versus Inheritance 00:07:36
- Assignment 2 00:03:56
- Assignment 2 - Solution 00:05:02
- Assignment 2 For Extra Credit - Solution 00:03:28
- Advanced Features
- Implementing Core Syntax 00:07:11
- Subclassing Built-Ins 00:06:26
- Attribute Encapsulation 00:05:27
- Private Variable Names 00:06:36
- With Context 00:06:07
- New Style Classes 00:03:50
- Assignment 3 00:07:13
- Assignment 3 - Supplementary Hints 00:05:06
- Assignment 3 - Solution 00:05:06
- Exceptions
- Trapping And Raising Exceptions 00:13:02
- Custom Exceptions 00:06:21
- Assignment 4 00:05:34
- Assignment 4 - Solution 00:04:09
- Object Serialization
- Pickle 00:08:27
- JSON 00:06:48
- YAML 00:09:27
- Assignment 5 00:03:38
- Assignment 5 - Solution 00:01:46
- Efficiency And Testing
- Debugging - PDB 00:10:02
- Logging 00:04:02
- Benchmarking - The Timeit Module 00:06:04
- The Pytest Module - Part 1 00:07:45
- The Pytest Module - Part 2 00:06:10
- Assignment 6 00:03:50
- Assignment 6 - Solution 00:05:29
- Conclusion
- What We Have Learned 00:01:55
- Where To Go From Here 00:04:49
Show and hide more