Introduction to OOP in PythonOnline Event

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

General Information

LanguageEnglish
LevelIntermediate
CostFree

 

 

 

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.

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: 2023-01-09 to 2023-01-18

  • Monday 23 January
    • 1
      Day 1: Getting started
    • Day 1: Block 1
      • 2
        Objects

        Get to know the fundamental building block for OOP

      • 3
        Classes

        How to describe similar objects all at once

    • 10:30
      Break
    • Day 1: Block 2
      • 4
        Methods

        Learn about functions that are parts of classes

      • 5
        Exercise: Objects, Classes, Methods
    • 12:30
      Lunch
    • Day 1: Block 3
      • 6
        Composition

        Combining classes to describe more complex structures.

      • 7
        Exercise:Composition
    • 15:00
      Break
    • Day 1: Block 4
      • 8
        Class Attributes and -Methods

        When information has to be shared by all objects of a class

  • Tuesday 24 January
    • 9
      Day 2: Warm up
    • Day 2: Block 1
      • 10
        Inheritance

        How to create variations of existing classes

    • 10:30
      Break
    • Day 2: Block 2
      • 11
        Exercise: Inheritance
    • 12
      Summary + Q&A
    • 13
      Buffer
    • 12:30
      Lunch
    • Day 2: Block 3
      • 14
        Hands-On Exercise

        This session is a self-learning exercise in which the participants will train their new skills on some exercise tasks.

        The instructors are available to help out, answer questions and give advice.