Introduction to OOP in PythonOnline Event

Europe/Berlin
Fredo Erxleben (Helmholtz-Zentrum Dresden-Rossendorf), Tobias Schlauch (DLR / HIFIS), 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: 2022-11-28 to 2022-12-04

  • Thursday 8 December
    • 09:00 09:30
      Day 1: Getting started 30m
    • 09:30 10:30
      Day 1: Block 1
      • 09:30
        Objects 30m

        Get to know the fundamental building block for OOP

      • 10:00
        Classes 30m

        How to describe similar objects all at once.

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

        Learn about functions that are parts of classes.

      • 11:45
        Exercise: Objects, Classes, Methods 45m
    • 12:30 13:30
      Lunch 1h
    • 13:30 15:00
      Day 1: Block 3
      • 13:30
        Composition 1h

        Combining classes to describe more complex structures.

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

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

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

        How to create variations of existing classes.

    • 10:30 11:00
      Break 30m
    • 11:00 11:30
      Day 2: Block 2
      • 11:00
        Exercise: Inheritance 30m
    • 11:30 12:00
      Summary + Q&A 30m

      A summary of the material will be given and it is time to answer questions that still remain.
      This leads into the self-guided exercise.

    • 12:00 12:30
      Buffer 30m

      Just in case something took longer than expected.

    • 12:30 13:30
      Lunch 1h
    • 13:30 17:00
      Day 2: Block 3
      • 13:30
        Hands-On Exercise 3h 30m

        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.