Python's contextlib is a HIDDEN GEM

  Рет қаралды 11,376

Carberra

Carberra

Күн бұрын

Пікірлер: 17
@Indently
@Indently 3 ай бұрын
Let’s goooooooo
@Carberra
@Carberra 3 ай бұрын
oooooooooooooooo
@iustinraznic5811
@iustinraznic5811 3 ай бұрын
:o
@ryaneakins7269
@ryaneakins7269 3 ай бұрын
I had no idea `supress` existed. I made my own, and called it `ignored`. I guess it's a quick enough refactor...
@spectrapulse2104
@spectrapulse2104 3 ай бұрын
ah yes I was waiting for just this topic
@JohnMitchellCalif
@JohnMitchellCalif 3 ай бұрын
wow, that's really useful! Subscribed
@Carberra
@Carberra 3 ай бұрын
Thank you!
@MaxShapira2real
@MaxShapira2real 3 ай бұрын
Awesome stuff! 🚀
@birdie123
@birdie123 3 ай бұрын
The "contextmanager" module is by far the most useful amongst the others. It saves a lot of duck-typing compared to the traditional way of coding decorators.
@vasiliigulevich9202
@vasiliigulevich9202 3 ай бұрын
Do you want to say "traditional way of coding context managers"?
@Святослав-ш5э9ю
@Святослав-ш5э9ю 3 ай бұрын
This theme looks cool, what is it name?
@Carberra
@Carberra 3 ай бұрын
I did a video on it linked in the description 😄
@JorgeLuis-ts6qp
@JorgeLuis-ts6qp 3 ай бұрын
Es una gem tan hidden que está descrita en la documentación.
@collegeinvestor7095
@collegeinvestor7095 3 ай бұрын
The terminal info of what branch and py version is neat, have you done a video on that?
@Carberra
@Carberra 3 ай бұрын
I have! It's in the description.
@Daniel_Zhu_a6f
@Daniel_Zhu_a6f 3 ай бұрын
nobody would have needed this stuff, would they just expose a local `goto` or make a `defer` keyword.
Partial functions in Python are SUPER NEAT
8:37
Carberra
Рет қаралды 4,6 М.
Generics are VITAL in typed Python
16:54
Carberra
Рет қаралды 9 М.
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 11 МЛН
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 22 МЛН
Pydantic is OP, here's why
18:10
Carberra
Рет қаралды 23 М.
10 Nooby Mistakes Devs Often Make In Python
24:31
Indently
Рет қаралды 62 М.
5 Useful Python Decorators (ft. Carberra)
14:34
Indently
Рет қаралды 101 М.
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 164 М.
Liked Pydantic? You'll LOVE Msgspec
15:53
Carberra
Рет қаралды 12 М.
Python itertools - The key to mastering iteration
20:03
mCoding
Рет қаралды 33 М.
The CORRECT way to work with temporary files in Python
11:48
Are descriptors the most MISUNDERSTOOD part of Python?
16:42
Carberra
Рет қаралды 11 М.