9–11 Sept 2024
Europe/Berlin timezone

This course is organized in cooperation between the Helmholtz Information & Data Science Academy (HIDA) and the Forschungszentrum Jülich.

Basics of Python

Objectives

  • Introduction to working efficiently with Python
  • Confident use of basic Python programming techniques
  • Outlook on further areas of application and Python libraries

Content

Python basics

Introduction to data structures

  • Data types, classes, variables, objects
  • Strings and string functions
  • Dictionaries
  • Sets and frozensets

Control structures

  • Branching
  • Loops: while and for
  • For loops in C or C++ in Python
  • continue, break, and else statements in loops 
  • Functions: Definition and Invocation

Input and output

  • Interactive input
  • Formatted output
  • The python way: the format method
  • Reading and writing files

Working with modules

  • Standard modules
  • Writing your own modules
  

Testing and debugging

Errors and exceptions

  • Syntax errors
  • Handling exceptions

Object-oriented programming

  • “All classes”
  • Classes, instances, and objects
  • Instance and class attributes, properties
  • Inheritance, multiple inheritance

Outlook on interesting Python libraries

  • NumPy and SciPy
  • Data visualisation with Matplotlib

Didactic approach

All course days cover alternating sequences of theoretical input and hands-on exercises, during which the instructors are available for quick feedback and advice.

Prerequisites

This course is suitable for beginners and no prior knowledge of Python is required.

 

NOTE: Registration will open on the 29th of July at 12 pm. 

 

Starts
Ends
Europe/Berlin