Student Login

Three Keys to Python Engineering

Welcome! In this mini-course, you learn the Three Keys to Python Engineering: inheritance, unit testing, and generators.

First, download the courseware files (Courseware-3KEYS.zip):

Download ZIP

These will contain your coding exercises, called "labs".

Go through the videos below in order doing the coding exercises as they are given. It's important to do each coding exercise before you move to the next video.

(If you want to go further faster, consider Powerful Python Bootcamp.)

Python version: We recommend you use Python 3.12 or later. The "bare minimum" is Python 3.9.

1 Course Intro

Before The Next Video:

Complete the helloworld.py lab.

2 (Optional) Syntax For Classes

This optional video is a quick intro for those completely new to OOP... how to write basic Python classes, the common terminology of OOP, and why classes are important.

If you are already comfortable writing Python classes, you can skip this video. Though consider watching it at double speed, just to make sure you know everything it covers.

Before The Next Video:

If you are new to writing (not just using) classes in Python, complete the helloclasses.py lab. Peek in the solutions folder if you need a hint.

If you already have significant experience writing Python classes, you can skip directly to the next video.

3 Key #1: OOP And Inheritance

Before The Next Video:

Complete the oop.py lab. Peek in the solutions folder if you need a hint.

4 OOP: Roadmap For Mastery

(Everything in this Roadmap is taught in Powerful Python Bootcamp.)

5 Key #2: Writing Unit Tests

Before The Next Video:

Follow the instructions in tddlab.txt. Peek in the solutions folder if you need a hint.

6 Unit Tests: Roadmap For Mastery

(Everything in this Roadmap is taught in Powerful Python Bootcamp.)

7 Key #3: Scalable Code With Generators

After this video:

Complete the generators.py lab. Peek in the solutions folder if you need a hint.

8 Scalable Generators: Roadmap For Mastery

(Everything in this Roadmap is taught in Powerful Python Bootcamp.)

9 Send In Your Lab Files

Submit your lab files files through this form:

Submit Labs

10 Powerful Python Bootcamp

You have finished Three Keys to Python Engineering. Congrats!

If you want to become of the top 1% of Python developers, and even become the best Python developer on your team, learn about our Bootcamp for software engineers and other technology professionals.

Bootcamp