Python Forum

Full Version: Hello again, all :)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've been spending a lot of time with c# over the past couple years, and I'm looking to get back into python for a personal project. But since it's been a few years since I've done anything serious with python, I'd love a heads-up of cool features that have been added, or popular libraries you find yourself using all the time. For context, the last time I was following along, the walrus operator was just added. I think I heard there's a match statement now?
match is pretty much the same as 'C' switch statement, see: https://docs.python.org/3/whatsnew/3.10....operations
Hi nilamo

(Nov-27-2022, 08:50 PM)Larz60+ Wrote: [ -> ]match is pretty much the same as 'C' switch statement,
Kind of,but it's much more powerful💪
They looked at how it was done languages such as Scala and Elixir,as C dos not have Structural Pattern Matching.
Hi Nilamo! Welcome back.