Match all things Python: Parsing structured content with Python's new match statement
- Track: Python Devroom devroom
- Room: UD2.218A
- Day: Sunday
- Start: 14:00
- End: 14:25
- Video only: ud2218a
- Chat: Join the conversation!
The talk gives a short introduction into the new Python match
statement, which was added to Python in version 3.10. The feature has only been gaining traction very slowly in the Python world, which is a bit sad, since the match
statement does prove to be very useful in many parsing situations.
We start with an overview, then discuss the different parts of the match statements, the terminology used, showcase ways to match patterns and finally how to use capturing variables.
Speakers
Marc-André Lemburg |