Introduction to OOP in PythonOnline Event

Europe/Berlin
Ashis Ravindran (DKFZ, Heidelberg), Christian Hueser (Helmholtz-Zentrum Dresden-Rossendorf (HZDR)), Fredo Erxleben (Helmholtz-Zentrum Dresden-Rossendorf)
Description

General Information

Language English
Level Intermediate
Cost Free

 

 

 

Content

This course will give a hands-on introduction to the concept of Object-Oriented Programming, a popular and powerful approach to problem solving by describing the involved components and their interactions.

We will introduce the involved concepts from the very beginning using Python as our language of choice.

The last exercise on Friday is open-end, to give you an opportunity to practise some more while an instructor is at hand to help you out.

Required Tools/Knowledge

  • A basic knowledge of the Python language (variables, functions, loops, conditions)
  • A working Python setup (The instructors will use Thonny for the workshop but you can bring whatever suits you)

Registration

To register for the course, please log in via the Helmholtz AAI (Step-by-step Instructions). If you do not have an account yet, the AAI will guide you through the setup process.

Registration period

The registration will be available from 2022-08-08 to 2022-08-14

  • Thursday 18 August
    • Day 1: Block 1
      • 1
        Day 1: Getting started
      • 2
        Objects

        Get to know the fundamental building block for OOP

      • 3
        Classes

        Why describe one object, if you can describe them all at once?

    • 10:30
      Second Breakfast
    • Day 1: Block 2
      • 4
        Methods

        A function's big sibling.

      • 5
        Exercise: Objects, Classes, Methods

        The first bigger practical exercise to apply what you have learned so far

    • 12:30
      Lunch
    • Day 1: Block 3
      • 6
        Composition

        How to glue classes together.

      • 7
        Exercise: Everything up to Composition
    • 15:00
      Coffee
    • Day 1: Block 4
      • 8
        Class Attributes and -Methods

        Because sharing is caring

  • Friday 19 August
    • Day 2: Block 1
      • 9
        Day 2: Warm up
      • 10
        Inheritance

        Never implement the same stuff twice.

    • 10:30
      Break
    • Day 2: Block 2
      • 11
        Hands-On

        Practice makes perfect