Here I am, 6 years into Python, and I’m still learning new things. Everything from new async stuff in 3.7 and 3.8 to fundamental mechanics of the language that have existed since the early days.
Ashamed to say, I recently (this week) got to grips with map() and filter() in the language. These two built-in functions alone will end up saving me a ton of time in the long run.
What are some tricks or techniques you learned this week about Python? I’m talking anything from list comprehensions to full application patterns.
Show us with a code snippet or repo link!