Skip to Content
View all events

Pythonic Object-Oriented Programming

Published by O'Reilly Media, Inc.

Beginner to intermediate content levelBeginner to intermediate

Python that’s easy for humans and AI to read, organize, and improve

What you’ll learn and how you can apply it

  • Confidently write useful classes, and modify them for new requirements
  • Understand the unique aspects of Python’s object system, and how they are useful in real-world software
  • Read and clearly understand that were generated by you, other humans, or by AI

Course description

Writing software is a brutal war with complexity. Object-oriented programming (OOP) is your most powerful tool to fight back and win, especially in the age of AI. If you code in Python, but never mastered OOP, join Aaron Maxwell to learn how to increase the quality and scope of software you create in Python and in every other language you use in the future.

You’ll gain a solid understanding of foundational OOP concepts like inheritance, polymorphism, and composition and how to express them in Python’s rich and unique object system. You’ll build on your Python knowledge to leverage the benefits of OOP for code reuse, modularity, flexibility, and encapsulation. And you’ll be delighted by your sudden ability to write more powerful, complex, and impactful software than ever before.

This live event is for you because...

  • You’re a technology professional who writes Python code.
  • You need to critically evaluate object-oriented Python code.
  • You want to confidently use Python’s particular style of OOP.

Prerequisites

  • The ability to write simple Python scripts using functions, lists, and dicts
  • The ability to execute Python programs, either on the command line or in an IDE
  • Knowledge of classes is not required

Recommended preparation:

  • Write and execute “Hello World” in Python to make sure your machine is set up and ready for the course

Recommended follow-up:

Schedule

The time frames are only estimates and may vary according to how the class is progressing.

Foundations (60 minutes)

  • Presentation: Quick review of Python class syntax; the single-responsibility principle
  • Hands-on exercise: Helloclasses.py
  • Q&A
  • Break

Inheritance (60 minutes)

  • Presentation: Inheritance and “is-a” relationships; Python interfaces
  • Hands-on exercise: Inheritance.py lab
  • Q&A
  • Break

Advanced methods (60 minutes)

  • Presentation: Methods and inheritance; encapsulation and data hiding
  • Hands-on exercise: Webviews.py
  • Q&A
  • Break

Advanced Python OOP features (60 minutes)

  • Presentation: Python properties; factories, class methods and static methods
  • Hands-on exercise: Properties.py
  • Q&A

Your Instructor

Aaron Maxwell

Aaron Maxwell is author of the book "Powerful Python: The Most Impactful Patterns, Features, and Development Strategies Modern Python Provides." As a software engineer, he has worked in devops, test automation, and machine learning, and now divides his time between coding, writing, and teaching

Xlinksearch

Skills covered

  • Python
  • Programming Fundamentals
  • Object-Oriented Architecture
  • NumPy