Module 31
Robust Python
Side path (after Module 11): type hints, dataclass, regular expressions, logging, tests
When you finish this module you can say:
I can write code with type hints, dataclasses, regular expressions and logging, protect it with tests, and turn it into a small multi-file library.
By the end of this module you will be able to write a small Python library with type hints, a dataclass, regular-expression parsing, logging and tests.
StartLessons
6 lessons · ≈ 60 min
- Type hints8 min
- dataclass10 min
- Regular expressions (re)10 min
- Logging10 min
- Writing tests10 min
- Project: a small library12 min · project
Practice exercises
Short writing exercises, independent of the lessons: Go to the exercises