Python 301 - Object-Oriented Python
Course Summary
In this module of the Python course, you'll learn how to write programs using the object-oriented approach to programming. You'll get to know how to model your code around objects and classes and apply this way of programming by building a game. You'll also learn about web scraping, exception handling, and writing tests for your programs.
11 Sections · 160 Pages · By Martin Breuss
-
Level
Intermediate to Advanced. Prerequisite: Python 201
-
Duration
100 Hours. Or, ~1 month of dedicated learning @ 15-20 hours per week
-
What's included
106 lessons. 32 videos. 7 quizzes. 100+ code samples. Numerous multi-part challenges. 1 capstone project.
-
Certificate
Python 301 Certificate - Object-Oriented Python
Unlock this course
$12/month Core Membership
7-day free trial
Unlock all courses
$29/month Pro Membership
7-day free trial
This course is part of the following career tracks:
-
Data Science + Machine Learning + AI Career Track
Join the AI revolution by becoming a machine learning and data science engineer. Learn to build end-to-end machine learning models that solve decision making problems in areas of your interest. This career track starts with Python, and takes you through building a portfolio of projects using in-demand data science, machine learning and deep learning techniques.
-
Python Web Development Career Track
Become a professional Python developer. Learn to build your own products, scripts, and automations from scratch using Python, Django, Flask, SQL, APIs, and more. Learn to think like a Python developer, and dive into the wonderful black hole of tinkering with code until it works! This track starts with Python basics, and takes you through building complete Python full stack web applications.
-
1) Introduction & Prerequisites
-
2) Classes, Objects, and Methods
-
Introduction to OOP in Python4 min
-
Python OOP - Main Concepts10 min
-
Custom Python Classes
-
Why Use a Python Class4 min
-
Video: Why Use a Python Class4 min
-
Python Classes Are Blueprints for Python Objects5 min
-
How to Create a Python Class6 min
-
Video: Python Class Example3 min
-
Quiz: Python Classes & OOP
-
Attributes & Methods
-
Python Classes, Objects and Instance Variables6 min
-
Python
__init__()Arguments5 min -
Video: Initializing Attributes6 min
-
Video: Class Recap + Instance Variables2 min
-
Python Methods4 min
-
Video: Python Methods4 min
-
What is Python
self?6 min -
Dunder Methods
-
Python Dunder Methods5 min
-
Python
__str__()and Python__repr__()5 min -
Video: Python Dunder Methods3 min
-
Video: Custom Python Dunder Methods1 min
-
Implementing Python Operators6 min
-
Assignments
-
Quiz: Class Attributes and Dunder Methods
-
Lab: Python Classes and Python Methods3 min
-
Python Project: Ingredient List3 min
-
Python Project: Pokemon Game3 min
-
Video: Build a Pokemon Game Class
-
Python Project: RPG Game4 min
-
Feedback: Python Classes & Methods
-
-
3) Inheritance
-
Introduction to Python Inheritance3 min
-
Video: What You'll Build1 min
-
Child Classes
-
Creating a Python Subclass3 min
-
Adding Functionality to Python Subclasses3 min
-
Video: Spicy Subclasses4 min
-
Customization
-
Python Subclass: Method Override5 min
-
Video: Python Subclass Method Override3 min
-
Customize Python
__init__8 min -
Video: Spices be Spicy3 min
-
When to Use Python Inheritance5 min
-
Composition
-
Python Object Composition3 min
-
Python Object Composition Example6 min
-
Final Example
-
Example
IngredientPython Class5 min -
Video: Python Inheritance Recap1 min
-
Assignments
-
Quiz: Python Inheritance
-
Lab: Python Inheritance3 min
-
Video: Python Project - Cooking Soup3 min
-
Python Project: Cooking Soup3 min
-
Python Project: Extend Your RPG Game3 min
-
Video: Project RPG Inheritance5 min
-
Python Project: Card Game3 min
-
Feedback: Python Inheritance
-
-
4) Web Scraping
-
Introduction: Web Scraping10 min
-
Working with JSON8 min
-
Web Scraping Process
-
Developer Tools: Inspect Element11 min
-
Python Web Scraping Example4 min
-
Introduction to BeautifulSoup5 min
-
Python BeautifulSoup Example7 min
-
Assignments
-
Quiz: Web Scraping
-
Lab: Web Scraping3 min
-
Python Project: Recipe Collection3 min
-
Python RegEx5 min
-
Video: Python RegEx3 min
-
Conclusion: Web Scraping3 min
-
Feedback: Python Web Scraping
-
-
5) Exceptions
-
Introduction: Python Exceptions4 min
-
Handling Exceptions
-
Python Try Except5 min
-
Look Before You Leap6 min
-
Catch Python Exceptions4 min
-
Video: Python Exception Handling4 min
-
Catch Multiple Python Exceptions8 min
-
Python Try Except Else4 min
-
Raising Exceptions
-
Python Raise Exception4 min
-
Python Custom Exceptions10 min
-
Video: Python Raise Exception4 min
-
Expanding on Exceptions
-
How to Modify a Python Custom Exception9 min
-
Python Exception Handling Overview & Recap4 min
-
When Does Python Use Exceptions4 min
-
Try to Avoid Python Exceptions3 min
-
Conclusion: Python Exceptions3 min
-
Assignments
-
Quiz: Python Exceptions
-
Lab: Python Exceptions3 min
-
Python Project: Exceptions3 min
-
Feedback: Python Exceptions
-
-
6) Testing
-
Why Create a Python Test7 min
-
Python unittest
-
Test-Driven Development Best Practices4 min
-
Video: Test-Driven Development4 min
-
Example Unit Test in Python9 min
-
Video: Create a Python Unit Test6 min
-
How to Run a Python Unittest3 min
-
How to Read Python Unittest Results8 min
-
Video: How to Read Python Unittest Results5 min
-
Challenge: Test Your Web Scraper3 min
-
Test-Driven Development
-
What is TDD4 min
-
Video: TDD Introduction3 min
-
Write a Python Unit Test8 min
-
Video: Write Failing Python Unit Test5 min
-
Transform Python Test Function7 min
-
Video: Transform Python Test Function5 min
-
Python Test Driven Development Example4 min
-
Video: Python Test Driven Development Example5 min
-
Video: Add More Python Test Functionality7 min
-
Python Test
setup()andtearDown()3 min -
Other Test Modules
-
Python Pytest Framework3 min
-
Assignments
-
Quiz: Python Testing
-
Lab: Python Testing3 min
-
Solution Code For Python Test Suite3 min
-
Python Project: Python Test Suite3 min
-
Feedback: Python Testing
-
-
7) Decorators
-
Introduction to Python Decorators4 min
-
Steps To Decorators
-
Python Decorators Step 1: View Python Functions as Objects6 min
-
Video: View Python Function as Objects4 min
-
Python Decorators Step 2: Understand the Python Scope5 min
-
Video: Understand the Python Scope5 min
-
Python Decorators Step 3: Use Python Arguments3 min
-
Video: Use Python Arguments2 min
-
Python Decorators Step 4: Test an Empty Python Decorator5 min
-
Video: Test an Empty Python Decorator6 min
-
Python Decorators Step 5: Modify the Python Decorator6 min
-
Video: Modify the Python Decorator5 min
-
Video: Python Decorators as Variables - Syntactic Sugar3 min
-
Using Decorators
-
Python Decorator Versatility3 min
-
Real Applications of Python Decorators7 min
-
Decorators With Arguments
-
Passing Arguments Through Python Decorators6 min
-
Python Decorators Passing Unlimited Arguments4 min
-
Python Decorators With Arguments4 min
-
Python Rate Limit Decorator Example7 min
-
Recap: Python Decorators3 min
-
Assignments
-
Quiz: Python Decorators
-
Lab: Python Decorators3 min
-
Python Project: HTML Python Decorator3 min
-
Feedback: Python Decorators
-
-
8) Abstract Data Structures
-
Introduction
-
Python Abstract Data Structures4 min
-
Measuring Algorithm Complexity using Big O Notation10 min
-
Linked Lists
-
Linked Lists in Python9 min
-
Build a Linked List in Python10 min
-
Extend Python Linked Lists3 min
-
Stacks & Queues
-
Python Queue and Python Stack6 min
-
How to Build a Python Queue5 min
-
Extend the Python Queue3 min
-
More Datastructures
-
Additional Python Data Structures8 min
-
Assignments
-
Lab: Python Abstract Data Structures3 min
-
Feedback: Python Abstract Data Structures
-