Outline updated November 2026

Intermediate28 hours delivered over 4-5 daysLive, online or on-site

Request this course

Object-Oriented Programming with Python and AI Tools

Class Duration

28 hours of live training delivered over 4-5 days.

Student Prerequisites

  • Experience with Python programming
  • Some experience with object-oriented programming in Python or another language is recommended

Target Audience

Python developers, backend engineers, automation coders, architects, and team leads who want stronger object-oriented design skills in Python. Teams wanting a deeper, AI-free treatment of the same principles can also look at Design Patterns and SOLID with Python.

Description

This course is for Python developers who want stronger object-oriented programming (OOP) skills. It starts with Python classes and their features, then covers the core principles and practices of OOP. Students apply SOLID and the creational, behavioral, and structural design patterns. AI tools are used in every module to learn OOP and apply it to real programs. In the final module, students plan code changes with OOP patterns while AI tools write the code.

Learning Outcomes

  • Model a domain with Python classes; validate with unit tests.
  • Refactor using encapsulation, inheritance, composition, and polymorphism.
  • Define typed interfaces with dataclasses and ABCs/Protocols; pass ruff and mypy.
  • Debug object collaborations in VS Code to find and fix defects.
  • Spot SOLID violations and add abstractions without breaking tests.
  • Implement appropriate design patterns and justify the choice.
  • Refactor legacy code to OO with dependency injection.
  • Pin behavior with unit tests and test doubles during refactors.
  • Draft code, tests, and refactoring plans with AI tools.
  • Check AI output against SOLID and the chosen design patterns.

Training Materials

Comprehensive courseware is distributed online at the start of class. Courseware is distributed via GitHub in the form of documentation and extensive code samples. Students practice the topics covered through challenging hands-on lab exercises.

Software Requirements

Students will need a free, personal GitHub account to access the courseware. Students will need permission to install Python and Visual Studio Code on their computers. Also, students will need permission to install Python Packages and Visual Studio Code extensions. If students are unable to configure a local environment, a cloud-based environment can be provided.

Training Topics

Object-Oriented Programming Foundations

  • What is object-oriented programming?
  • What are design patterns?
  • What is SOLID?
  • How Python supports OOP

Development Environment

  • Configure VS Code for Python development
  • Formatting with Ruff
  • Linting with Ruff and type checking with mypy
  • Debugging Python scripts with VS Code

Python Classes

  • Defining a class
  • Instance and class members
  • Inheritance
  • Multiple inheritance
  • Properties for getters and setters

Principles and Practical Object-Oriented Programming

  • Encapsulation
  • Polymorphism
  • Inheritance
  • Composition
  • Shared variable context for functions

SOLID Programming

  • Single Responsibility Principle
  • Open-Closed Principle
  • Liskov Substitution Principle
  • Interface Segregation Principle
  • Dependency Inversion Principle

Component Design

  • Component cohesion
  • Component coupling

Creational Design Patterns

  • Abstract Factory
  • Factory
  • Builder
  • Prototype
  • Singleton

Behavioral Design Patterns

  • Chain of Responsibility
  • Command
  • Interpreter
  • Iterator
  • Mediator
  • Observer
  • Strategy
  • Memento
  • State
  • Template Method
  • Visitor

Structural Design Patterns

  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Façade
  • Flyweight
  • Proxy

AI Tools and OOP

  • AI tools and design patterns
  • Refactoring legacy code to patterns
  • Moving from one pattern to another
  • Finding patterns in existing code
  • Comparing pattern options
  • Planning changes with AI tools and patterns

Private team training

Bring this course to your team

Tell us about your team and we will tailor this outline to your tools, stack, and schedule. Courses can also be combined into a longer program.

  1. Tell us what you needYour tools, stack, team size, and timeline.
  2. We send a proposalA course or program, an outline adjusted to your team, and possible dates.
  3. Your team trains liveOnline or on-site, with courseware for every student.

Prefer to talk? Call +1 434-509-6890 or email help@cloudcontraptions.com.

We reply within 1 business day.

Training partner?