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
    • 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 23 September
    • 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