Python is one of the most widely adopted programming languages in the world. Yet, because of it’s ease and simplicity to just “get something working”, it’s also one of the most underappreciated. If you search for Top 10 Advanced Python Tricks on Google or any other search engine, you’ll find tons of blogs or LinkedIn articles going over trivial (but still useful) things like generators or tuples. However, as someone who’s written Python for the past 12 years, I’ve come across a ...| Edward Li's Blog
In this episode, hosts Kelly Schuster-Paredes and Sean Tibor are joined by Python expert Trey Hunner for an engaging and insightful conversation. Together, they explore the intricacies of teaching Python, the evolving role of AI in education, and the excitement of discovering new programming features. Join the conversation and be part of their exploration into the balance of fun and learning in the world of Python.| Teaching Python
The match statement takes an expression and compares its value with the case blocks which have some specified conditions.| GeekPython - Python Programming Tutorials
Ned Batchelder recently shared Real-world match/case, showing a real example of Python’s Structural Pattern Matching. These real-world examples are a great complement to the tutorial, so I’ll share mine. While working on some STAC + Kerchunk stuff, in this pull request I used the match statement to parse some nested objects: for k, v in refs.items(): match k.split("/"): case [".zgroup"]: # k = ".zgroup" item.properties["kerchunk:zgroup"] = json.loads(v) case [".zattrs"]: # k = ".| tomaugspurger.net
Advent is the liturgical season preceding Christmas in many Christian traditions, and generally begins on a Sunday -- often the …| www.b-list.org
The final part of the article about pattern matching in Ruby, putting it in a broader context of the industry state, possible future usages, and a general effect on the language design.| zverok.space
PHP RFC: Pattern Matching| wiki.php.net