Code24Lab
Python

Python courses with practice labs

Python is the most widely taught programming language, and these courses cover it from two sides.

Courses in Python

CHF 9.90Beginner

Python Foundations: Variables, Loops, Functions & Files

Learn Python by thinking like the interpreter: trace variables, strings, lists, loops, dictionaries, functions, files and error handling for a fictional bike rental, with every answer checked as you go.

20 lessons · 20 labs

CHF 29.90Advanced

Python Mastery: Decorators, Generators, Async & Performance

Trace closures, decorators, generators, context managers and asyncio schedules, then measure caches, profiles and Big-O costs like a senior Python developer, with every answer checked as you go.

21 lessons · 21 labs

CHF 9.90Beginner

Python Data Foundations: NumPy & Pandas Basics

Learn how NumPy arrays and pandas DataFrames work by predicting what real code returns on a fictional bakery's data: indexing, vectorised maths, filters, sorting, statistics, groupby and CSV files, with every answer checked as you go.

20 lessons · 20 labs

CHF 19.90Intermediate

Python Data Analysis: GroupBy, Merge, Time Series & Plots

Group, merge, reshape, clean and resample fictional business data with pandas, predict exactly what each line of code returns and plot the results, with every answer checked as you go.

22 lessons · 22 labs

CHF 29.90Advanced

Python Data Mastery: Performance, Pipelines & Advanced Pandas

Make pandas code fast, lean and trustworthy: vectorization costs, dtypes and categoricals, MultiIndex, window functions, safe merges, data-quality checks and reproducible pipelines, with every answer checked as you go.

20 lessons · 20 labs

Python is the most widely taught programming language, and these courses cover it from two sides. The Core track takes you from variables, loops and functions to object-oriented design, decorators and generators. The Data track covers NumPy and pandas: arrays, DataFrames, grouping, merging, time series and performance.

Each track has a Beginner, an Intermediate and an Advanced course. Every lesson is a hands-on lab in which the code and its data sit in an interactive sheet; you trace the program step by step and the coach checks your answers instantly. Pass the final exam and you get a certificate you can verify online.

Frequently asked questions

Do I need Python installed?

No. The labs run in your browser. You read Python code and its data in an interactive sheet and work out what it does. We recommend also running the examples on your own computer.

Core Python or Data first?

Core first. Python Data Foundations assumes you can read loops, lists and functions.

Which Python version is used?

Modern Python 3. Where behaviour changed between versions, the lesson says so.

Open your first lab in under a minute

Pick a course, pay once and start right away. Your progress is saved in your account.

Browse the courses