Python 3.10 Pattern Matching in Action

  Рет қаралды 9,306

Big Python

Big Python

Күн бұрын

Пікірлер: 23
@joeeeee8738
@joeeeee8738 3 жыл бұрын
Great video! Excellent examples. What are you using to run these notebooks? Looks neat
@BigPython
@BigPython 3 жыл бұрын
It's regular Jupyter with Jupyter-themes ( github.com/dunovank/jupyter-themes ), I believe it's the "grade3" skin. It's as simple as "pip install jupyterthemes" and "!jt -t grade3". I have it in the last cell in the notebook: github.com/tkarabela/bigpython/blob/master/002--python-3-10-pattern-matching/structural-pattern-matching.ipynb
@MahdeenSky
@MahdeenSky 3 жыл бұрын
oml I really need that switch case, the number of possibilities are limitless
@piotrekgor18
@piotrekgor18 3 жыл бұрын
Match is actually much more powerful than switch
@PeloCN
@PeloCN 3 жыл бұрын
Hey the production quality is really nice! I love finding quality small channels. Subbed!
@vedantsharma6113
@vedantsharma6113 3 жыл бұрын
Nicely explained, Subbed :D
@jewpcabra666
@jewpcabra666 3 жыл бұрын
wonderful video! so so excited to have this feature in python. Its one of my absolute favorite features from programming in functional languages like haskell, elm, sml. Super powerful and useful!
@BigPython
@BigPython 3 жыл бұрын
Yeah, it looks very nice, esp. in combination with dataclasses :)
@maxcurzi
@maxcurzi 3 жыл бұрын
Great video structure, content, and editing. Please keep them coming :)
@BigPython
@BigPython 3 жыл бұрын
Thank you! :)
@slanecek
@slanecek 3 жыл бұрын
This reminds me of "when" statement from Kotlin. Neat.
@BigPython
@BigPython 3 жыл бұрын
Yeah, all the fancy languages seem to have something like that ^^
@damzduro1
@damzduro1 3 жыл бұрын
Great video, I've subscribed and look forward to more python goodness in the future.
@BigPython
@BigPython 3 жыл бұрын
Thanks! I hope you'll find it useful :)
@Formulka
@Formulka 3 жыл бұрын
very nice explanation, thank you!
@BigPython
@BigPython 3 жыл бұрын
Thanks!
@spooooooky
@spooooooky 3 жыл бұрын
Underrated channel!
@BigPython
@BigPython 3 жыл бұрын
Thanks for the kind words! Well, I've started it just a few days ago, let's see where it goes :)
@MaxMustermann-on2gd
@MaxMustermann-on2gd 3 жыл бұрын
What Frontend is this? Looks like a newer version of Notebook?
@BigPython
@BigPython 3 жыл бұрын
It's Jupyter Notebook with github.com/dunovank/jupyter-themes
@MaxMustermann-on2gd
@MaxMustermann-on2gd 3 жыл бұрын
@@BigPython looks great. thank you, will try this out.
@Naton
@Naton 3 жыл бұрын
can it handle exceptions?
@BigPython
@BigPython 3 жыл бұрын
If you mean "try: ... except Exception as e: match e: ..." then I suppose it should, haven't tried it. The try/except statement already works kind of like pattern matching, I don't remember wanting more from it :)
СОЗДАЕМ ГРАФИК БИТКОИНА ЧЕРЕЗ WEBSOCKETS | Python 3, Питон 3
34:11
Андрей Иванов | Python
Рет қаралды 32 М.
Всё пошло не по плану 😮
00:36
Miracle
Рет қаралды 2,8 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 262 #shorts
00:20
DID A VAMPIRE BECOME A DOG FOR A HUMAN? 😳😳😳
00:56
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 119 МЛН
How Fuzzy Text Search Works
18:36
Big Python
Рет қаралды 14 М.
Python is NOT Single Threaded (and how to bypass the GIL)
10:23
Jack of Some
Рет қаралды 109 М.
Python dataclasses will save you HOURS, also featuring attrs
8:50
This Is Why Python Data Classes Are Awesome
22:19
ArjanCodes
Рет қаралды 810 М.
Python Decorators in 15 Minutes
15:14
Kite
Рет қаралды 446 М.
Memory Profiling in Python
7:07
NeuralNine
Рет қаралды 13 М.
Five Amazing Python Libraries you should be using!
17:19
Jack of Some
Рет қаралды 75 М.
Всё пошло не по плану 😮
00:36
Miracle
Рет қаралды 2,8 МЛН