Working With Python's namedtuple()
Автор: Real Python
Загружено: 2023-03-02
Просмотров: 2724
Описание:
Python’s collections module provides a factory function called namedtuple(), which is specially designed to make your code more Pythonic when you’re working with tuples. With namedtuple(), you can create immutable sequence types that allow you to access their values using descriptive field names and the dot notation instead of unclear integer indices.
This is a portion of the complete course, which you can find here:
https://realpython.com/courses/python...
The rest of the course covers:
Understanding namedtuple Class utilities
Decide whether to use a namedtuple or a similar data structure
Subclass a namedtuple to provide new features and extend the class
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: