ycliper

Популярное

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

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

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

Топ запросов

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

Python: Create Classes with Named Tuple (namedtuple)

python

namedtuple

python 3

python tutorial

python programming

learn python

python named tuple

python named tuple class

python tuple

python for beginners

python tips and tricks

python lessons

Автор: codevev

Загружено: 2021-04-30

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

Описание: #Shorts #Python

Python tips and tricks:
Sometimes we want to create classes that serve no other purpose than to pass in some data between the functions. Python allows us to reduce the amount of code we write to do that by using the namedtuple. We don't need to define a class in its standard way that consists of an _init_ method and have to assign all the passed in properties to the instance. Instead, we can do all of that in one line with the namedtuple.

-------------------------------------------------------------------------------------
Links:
Blog: https://evgenyurubkov.com
Twitter:   / evgenyurubkov  
Instagram:   / evgenyurubkov  
Youtube:    / @codevev  

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Python: Create Classes with Named Tuple (namedtuple)

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

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

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

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

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

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

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



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



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