Introduction to OOP in PythonOnline Event

Europe/Berlin
Fredo Erxleben (Helmholtz-Zentrum Dresden-Rossendorf), Ashis Ravindran (DKFZ, Heidelberg), Thomas Foerster (HZDR), HIFIS Noreply Bot (Functional Account)
Description

General Information

Language English
Level Intermediate
Cost Free

 

 

 

This is an additional course for those that did not get a seat on the 18./19: August event.

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)
  • Thursday 22 September
    • 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 23 September
    • 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