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
    • 09:00 10:30
      Day 1: Block 1
      • 09:00
        Day 1: Getting started 30m
      • 09:30
        Objects 30m

        Get to know the fundamental building block for OOP

      • 10:00
        Classes 30m

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

    • 10:30 11:00
      Second Breakfast 30m
    • 11:00 12:30
      Day 1: Block 2
      • 11:00
        Methods 45m

        A function's big sibling.

      • 11:45
        Exercise: Objects, Classes, Methods 25m

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

    • 12:30 13:30
      Lunch 1h
    • 13:30 15:00
      Day 1: Block 3
      • 13:30
        Composition 30m

        How to glue classes together.

      • 14:00
        Exercise: Everything up to Composition 1h
    • 15:00 15:30
      Coffee 30m
    • 15:30 17:00
      Day 1: Block 4
      • 15:30
        Class Attributes and -Methods 1h 30m

        Because sharing is caring

  • Friday 19 August
    • 09:00 10:30
      Day 2: Block 1
      • 09:00
        Day 2: Warm up 30m
      • 09:30
        Inheritance 1h

        Never implement the same stuff twice.

    • 10:30 11:00
      Break 30m
    • 11:00 12:30
      Day 2: Block 2
      • 11:00
        Hands-On 1h 30m

        Practice makes perfect