Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

8 things in Python you didn't realize are descriptors

Автор: mCoding

Загружено: 2022-09-26

Просмотров: 87862

Описание:

Descriptors are everywhere in Python, but you may not have realized it.

They underlie functions, properties, staticmethods, and more! In this video we take a look at 8 Python descriptors and explain the descriptor protocol.

― mCoding with James Murphy (https://mcoding.io)

Source code: https://github.com/mCodingLLC/VideosS...
descriptor docs: https://docs.python.org/3/howto/descr...
staticmethods vid:    • Python staticmethod and classmethod  
super vid:    • super/MRO, Python's most misunderstood fea...  
slots vid:    • Python __slots__ and object layout explained  

SUPPORT ME ⭐
---------------------------------------------------
Patreon:   / mcoding  
Paypal: https://www.paypal.com/donate/?hosted...
Other donations: https://mcoding.io/donate

Top patrons and donors: Jameson, Laura M, Dragos C, Vahnekie, Neel R, Matt R, Johan A, Casey G, John Martin, Mutual Information

BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
Discord:   / discord  
Github: https://github.com/mCodingLLC/
Reddit:   / mcoding  
Facebook:   / james.mcoding  

CHAPTERS
---------------------------------------------------
0:00 Intro
0:17 What are descriptors?
2:08 #1 functions
3:10 #2 properties
5:27 #3 classmethods and staticmethods
6:47 #4 slots
7:42 #5 _dict_
8:30 #6 SQLAlchemy models
9:06 #7 validators
10:16 #8 super lookups
10:46 Interactions with _getattr_
14:02 Thanks

8 things in Python you didn't realize are descriptors

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Генераторы Python

Генераторы Python

ДЕСКРИПТОРЫ В ПИТОНЕ

ДЕСКРИПТОРЫ В ПИТОНЕ

super/MRO, Python's most misunderstood feature.

super/MRO, Python's most misunderstood feature.

Понимание Python: дескрипторы

Понимание Python: дескрипторы

Вы можете делать действительно крутые вещи с помощью функций в Python

Вы можете делать действительно крутые вещи с помощью функций в Python

Декораторы Python — наглядное объяснение

Декораторы Python — наглядное объяснение

Unlocking your CPU cores in Python (multiprocessing)

Unlocking your CPU cores in Python (multiprocessing)

Functions within functions, closures, and variable scopes in Python

Functions within functions, closures, and variable scopes in Python

Алгоритмы и структуры данных за 15 минут! Вместо 4 лет универа

Алгоритмы и структуры данных за 15 минут! Вместо 4 лет универа

Metaclasses in Python

Metaclasses in Python

Протоколы и ABC в Python — когда какой использовать?

Протоколы и ABC в Python — когда какой использовать?

Учебник Pydantic • Решение самой большой проблемы Python

Учебник Pydantic • Решение самой большой проблемы Python

Визуализация внимания, сердце трансформера | Глава 6, Глубокое обучение

Визуализация внимания, сердце трансформера | Глава 6, Глубокое обучение

Вот почему классы данных Python так хороши

Вот почему классы данных Python так хороши

Are descriptors the most MISUNDERSTOOD part of Python?

Are descriptors the most MISUNDERSTOOD part of Python?

Async for loops in Python

Async for loops in Python

Самый НЕЛЮБИМЫЙ __dunder__ в Python (и что использовать вместо него)

Самый НЕЛЮБИМЫЙ __dunder__ в Python (и что использовать вместо него)

Please Master This MAGIC Python Feature... 🪄

Please Master This MAGIC Python Feature... 🪄

Expert Python Tutorial #3 - Metaclasses & How Classes Really Work

Expert Python Tutorial #3 - Metaclasses & How Classes Really Work

str vs bytes in Python

str vs bytes in Python

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]