Open mobile navigation

+49 40 8998-5500

+49 40 8998-5507

info@pier-hamburg.de

graduateschool@pier-hamburg.de

Scientist Registration Lunch Talks Startup Bootcamp Past Events PIER Helmholtz Graduate School (PHGS) PIER Education Platform (PEP) DOIT PhD Representatives Research Fields PIER Research Perspectives Workshops PIER International PIER Idea Fund PHGS Travel Awards Calls, prizes and funding for doctoral researchers News & Events PIER Boards PIER Team CONTACT MEDIA CREDITS Quick links PHGS MEMBER LOGIN

Innovation & Startup

You are interested in learning about business startup and innovation topics? Check out PIER events and activities in this field.

PIER Research Funding

PIER offers funding for seed projects, joint workshops or short visits of international colleagues in your field.

PIER Education Platform

Transferable skills for doctoral and postdoctoral researchers

Language courses

German and English courses for doctoral and postdoctoral researchers

PHGS Travel Awards for doctoral researchers

Outstanding doctoral researchers of the PIER Helmholtz Graduate School (PHGS) can apply for a PHGS Travel Award to pay for travel to and participation in scientific events. Find out more...

Forms and info Sheets for doctoral researchers of the PHGS

Here you can find all templates and information sheets that are important for your membership in the PIER Helmholtz Graduate School.

Buddy Programme for new doctoral researchers of the PHGS

You are a new international doctoral sresearcher and would like support during your first time in Hamburg? You are an experienced doctoral researcher and would like to support a new international doctoral researcher? Register here.

Registration membership PIER Helmholtz Graduate School

You are starting a doctorate at DESY or Universität Hamburg and want to become a member of the PIER Helmholtz Graduate School? Here you can sign up.

Curriculum PIER Helmholtz Graduate School

The PHGS curriculum is the core of the education of our members and is the basis for the PHGS Certificate and Transcript of Records.

07

Sep

Advanced Python Programming Techniques

Workshop/Training | Bernd Klein | 7 + 8 September 2026, 9 am - 5 pm | online | Doctoral Researcher / Education / PEP / Postdoc / Software and programming skills

This course introduces advanced Python programming techniques that are useful for writing clearer, shorter, more efficient, and more maintainable code.

It is designed for practical scientific and technical programming rather than abstract computer science theory. The focus is on methods that improve everyday Python scripts, analysis workflows, and research-related programming tasks.

The course covers recursive functions and common runtime problems, including the use of memoization to avoid inefficient repeated calculations. Participants learn advanced function concepts such as flexible parameter passing with `*args` and `**kwargs`, decorators, lambda functions, and selected functional-style techniques including `map()`, `filter()`, `reduce()`, and comprehensions.

Functional programming concepts are introduced where they are practically useful. Participants learn not only how to use tools such as lambda functions and higher-order functions, but also the ideas behind them, including functions as objects and concise data transformation. These concepts are presented as workflow tools rather than as abstract theory.

The course also covers Pythonic data-processing patterns such as list comprehensions, custom sorting with `sort()` and `sorted()`, iterators, generators, and context managers. Practical examples include transforming data, simplifying repeated code, sorting structured results, processing large or streamed datasets, and handling files or resources safely.

By the end of the course, participants will be able to use selected advanced Python features confidently in practical programming tasks. They will understand how to improve existing scripts by making them more readable, reusable, efficient, and robust. They will also be able to recognize when recursive solutions may cause runtime problems, apply memoization, write flexible functions, use simple decorators, work with concise data transformations, and use iterators, generators, and context managers appropriately.

Learning goals

After completing the course, participants should be able to understand recursive functions, apply memoization, use `*args` and `**kwargs`, explain and write simple decorators, use lambda functions in focused contexts, understand selected functional-style concepts, apply `map()`, `filter()`, and `reduce()` where appropriate, write readable list comprehensions, sort data with custom criteria, distinguish iterators from generators, create memory-efficient generator-based workflows, and use context managers for safe resource handling. They should also be able to judge when an advanced Python feature improves code quality and when a simpler solution is preferable.

Didactic approach

The course follows a hands-on, example-driven approach. Topics are introduced step by step, starting from familiar Python concepts and extending them toward more powerful techniques. Short explanations are combined with live coding, guided examples, and practical exercises. Examples are drawn from realistic scientific and technical contexts, such as processing data collections, avoiding repeated computations, sorting results, simplifying analysis scripts, and handling files safely.

No advanced software engineering background is required. The course makes advanced-looking concepts accessible by connecting them directly to practical problems that PhD students in physics and related fields may encounter in their own scripts and workflows.

Participants deepen their Python knowledge beyond basic scripting and gain practical tools for improving code quality. The course is especially useful for researchers who already use Python and want to make their scripts more efficient, readable, reusable, and easier to maintain. It also helps reduce uncertainty around topics such as decorators, generators, memoization, functional-style programming, and context managers by presenting them as practical solutions to common scientific programming problems.

Participation Requirements

Participants should already have solid basic Python programming knowledge. They should be familiar with variables, data types, conditional statements, loops, functions, modules, and basic file handling.

Participation in the course “Python Programming for Beginners” or comparable prior experience is recommended. Participants should be comfortable writing and modifying Python functions and working with standard data structures such as lists, dictionaries, and strings. Prior attendance of an intermediate Python course is not strictly required, but some experience using Python for practical tasks is helpful.
 

This workshop is free of charge for registered members of the PIER Helmholtz Graduate School, its cooperation partners in the PIER Education Platform, and early career researchers from other Helmholtz centers. This course was made possible through course funding by  the Helmholtz Information and Data Science Academy HIDA, which supported its development and implementation.


Location:

online / Zoom

Date:

7 + 8 September 2026, 9 am - 5 pm

Lecturers:

Bernd Klein, Bodenseo

Credit points:

1.0

Open for:

Doctoral researchers and postdocs

ICON
REGISTRATION OPEN NOW

Slots are limited, early registration is strongly recommended.

Register

Other interesting events

show all events

30 Jun 2026

Thesis defense: Deniz Bozkurt

Thesis defense: Deniz Bozkurt | 30 June 2026, 2:30 p.m. |

The disputation is open to the UHH university public. Title of thesis: Breaking Symmetries: N = 2 Spin Chains and Conformal ...

01 Jul 2026

Thesis defense: Albert Bekov

Thesis defense: Albert Bekov | 1 July 2026, 11:00 a.m. |

The disputation is open to the UHH university public. Title of thesis: Higher-Point Correlation Functions in N = 4 Supersymm ...

03 Jul 2026

Thesis defense: Miguel Blanco García

Thesis defense: Miguel Blanco García | 3 July 2026, 10:00 a.m. |

The disputation is open to the UHH university public. Title of thesis: ADSORPTION AND PHOTOOXIDATION OF SARS-CoV 2 SPIKE AMI ...

03 Jul 2026

Thesis defense: Nele Naomi Striker

Thesis defense: Nele Naomi Striker | 3 July 2026, 10:30 a.m. |

The disputation is open to the UHH university public. Title of thesis: Spatial and Temporal Correlations in Colloidal System ...