Skill · Scripting · Master the Python language
Write idiomatic Python: decorators, generators, context managers and itertools
Write idiomatic Python: decorators, generators and yield, context managers with with, and itertools to iterate without nested loops.
Start lesson 1The Scripting domain
- 4 lessons
- ~3 h 00 of reading
- 4 quizzes
- 0 proof lab
Lessons
How to learn it
4 lessons, about ~3 h 00, in program order. Each lesson ends with its quiz.
The program
4 lessons · ~3 h 00
- 1Les decorateurs (in French)· 70 min
- 2Les generateurs (in French)· 45 min
- 3Les context managers (in French)· 30 min
- 4itertools et functools (in French)· 35 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.
Placement test
Preparing the questions…
Your answers in detail
For each question asked: your answer, the correct answer, its explanation and the page to reread.
Around it
Who requires it, who teaches it
Required by
Taught by
Same block · Master the Python language