The How and Why of Object-oriented Programming in Python

Referierende:

Dr. Mike Müller (CEO und Trainer, Python Academy GmbH & Co. KG) / Homepage

Termin: So, 14:00 - Raum W3 - Dauer 180 Min.

This hands-on tutorial provides a practical introduction to object-oriented programming (OOP) in Python. Through a carefully designed example, participants will experience the evolution from procedural to object-oriented code, understanding not just the "how" but also the "why" of OOP.

You will learn:

* How to design and implement custom classes in Python
* When and why to use object-oriented programming versus procedural approaches
* How to leverage inheritance to create reusable, maintainable code
* How to implement special methods (`__init__`, `__repr__`, `__lt__`, etc.) to make your objects behave like built-in Python types
* How to analyze problems and identify appropriate classes and methods
* How to adapt your object-oriented designs when requirements change

The tutorial uses a progressive teaching approach: we start with a working procedural solution and gradually transform it into an object-oriented design. This allows you to see the benefits of OOP firsthand and understand when it's worth the additional structure. All concepts are taught through live coding demonstrations, followed by hands-on exercises where you'll apply what you've learned.

Erwünschte Vorkenntnisse: This tutorial is designed for participants who:

1. Already use Python and
2. Would like to get started with object-oriented programming, or
3. Would like to take more advantage of object-oriented programming

**Prerequisites**: Foundational knowledge of Python is required, including:

* Basic data types (lists, dictionaries, strings)
* Functions and parameters
* Control flow (if/else, loops)
* Basic use of Python in Jupyter notebooks or scripts

A deeper understanding of Python is advantageous but not required. No prior experience with object-oriented programming is assumed.

Anmeldeschluss ist der 24.03.2026.

Zum Anmeldeformular