Skip to content
Français
Sync not enabled: your progress stays in this browser My learning
Select theme
Français

Skill · Scripting · Master the Python language

Model and type data in Python with dataclasses, Enum and annotations

Model data in Python with dataclasses, enumerations and type annotations, and process them with match/case.

Start lesson 1The Scripting domain

Lessons

How to learn it

4 lessons, about ~2 h 05, in program order. Each lesson ends with its quiz.

The program

4 lessons · ~2 h 05

Part 1 · Volet 1 · Types et données (in French) 2 lessons · ~1 h 05

  1. 1Les dataclasses (in French)· 35 min
  2. 2Les enumerations (in French)· 30 min

Part 2 · Volet 3 · Fichiers, formats et modules (in French) 2 lessons · ~1 h 00

  1. 3Le pattern matching (match-case) (in French)· 30 min
  2. 4Les annotations de type (in French)· 30 min

Beyond the lessons

Assess, practise, pass the proof

Reading a lesson confirms nothing. A skill is confirmed by a passed quiz, practised in a guided lab, and put to the test by a challenge or a mission; an imported lab result is not verified by the site.

Assess yourself

4 quizzes

At the end of the lessons: passed at 70%, they confirm the skill.

Practice

No guided lab

No guided lab practices it yet.

Proof

No proof

Neither a challenge nor a mission with a proof yet.

Around it

Who requires it, who teaches it