Great video! Excellent examples. What are you using to run these notebooks? Looks neat
@BigPython3 жыл бұрын
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
@MahdeenSky3 жыл бұрын
oml I really need that switch case, the number of possibilities are limitless
@piotrekgor183 жыл бұрын
Match is actually much more powerful than switch
@PeloCN3 жыл бұрын
Hey the production quality is really nice! I love finding quality small channels. Subbed!
@vedantsharma61133 жыл бұрын
Nicely explained, Subbed :D
@jewpcabra6663 жыл бұрын
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!
@BigPython3 жыл бұрын
Yeah, it looks very nice, esp. in combination with dataclasses :)
@maxcurzi3 жыл бұрын
Great video structure, content, and editing. Please keep them coming :)
@BigPython3 жыл бұрын
Thank you! :)
@slanecek3 жыл бұрын
This reminds me of "when" statement from Kotlin. Neat.
@BigPython3 жыл бұрын
Yeah, all the fancy languages seem to have something like that ^^
@damzduro13 жыл бұрын
Great video, I've subscribed and look forward to more python goodness in the future.
@BigPython3 жыл бұрын
Thanks! I hope you'll find it useful :)
@Formulka3 жыл бұрын
very nice explanation, thank you!
@BigPython3 жыл бұрын
Thanks!
@spooooooky3 жыл бұрын
Underrated channel!
@BigPython3 жыл бұрын
Thanks for the kind words! Well, I've started it just a few days ago, let's see where it goes :)
@MaxMustermann-on2gd3 жыл бұрын
What Frontend is this? Looks like a newer version of Notebook?
@BigPython3 жыл бұрын
It's Jupyter Notebook with github.com/dunovank/jupyter-themes
@MaxMustermann-on2gd3 жыл бұрын
@@BigPython looks great. thank you, will try this out.
@Naton3 жыл бұрын
can it handle exceptions?
@BigPython3 жыл бұрын
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 :)