Тёмный

Python's contextlib is a HIDDEN GEM 

Carberra
Подписаться 20 тыс.
Просмотров 11 тыс.
50% 1

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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
Просмотров 4,7 тыс.
Pydantic is OP, here's why
18:10
Просмотров 23 тыс.
Generics are VITAL in typed Python
16:54
Просмотров 9 тыс.
Being Competent With Coding Is More Fun
11:13
Просмотров 80 тыс.
5 Useful Python Decorators (ft. Carberra)
14:34
Просмотров 101 тыс.
Are descriptors the most MISUNDERSTOOD part of Python?
16:42
My 10 “Clean” Code Principles (Start These Now)
15:12
10 Nooby Mistakes Devs Often Make In Python
24:31
Просмотров 62 тыс.
Python 3.13's new REPL is AMAZING
10:21
Просмотров 54 тыс.
Python itertools - The key to mastering iteration
20:03