Theme: Python

Python and Parallelism


Level: Intermediate

Typical duration: 1 day

Lectures: 5h

Labs: 3h

Course code: PY03

How to combine Python and Parallelism?

Training topics

Combining Python and Parallelism

Python is often seen as not well suited for parallelism, one of the reasons being its Global Interpreter Lock. We show how to use the languages powerful features in a parallel context, and how to get the most out of compute and I/O despite the existing limitations.

We also provide an introduction to mixing Python with C and C++, which can be helpful in a multi-threading and multi-core processing scenario.

 

Results

After the course, the students will:
- Understand the key concepts of parallelism in Python and minimize side-effects
- Create efficient parallel programs
- Perform basic interfacing between C/C++ and Python

Training concepts

Parallel programming in Python - opportunities and constraints
Combining Python with C/C++ applications
Combining Python with parallel applications