Популярное

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

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

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

Топ запросов

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

Python Decorators Tutorial: how Python decorators work

Автор: Red Eyed Coder Club

Загружено: 2019-01-31

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

Описание:

This Python Decorators Tutorial video is about what are decorators in Python and how Python decorators work. The video is for absolute beginners with simple examples.

I started with creating a background for a Python decorator usage, and specified the problems that decorators solve.


Follow me @:
Telegram: https://t.me/red_eyed_coder_club
Twitter:   / codereyed  
Facebook: https://fb.me/redeyedcoderclub


✴️✴️✴️ Web Scraping course ✴️✴️✴️
is available via Patreon here:
  / red_eyed_coder_club  

or its landing:
https://red-eyed-coder-club.github.io...


In this video reviewed three versions of Python decorators:
1. A simple decorator for a function that not accepting any arguments
2. A decorator for a function that accepting some arguments
3. A decorator that has own arguments for a function that accepting some arguments

And a small bonus:
A small demo that list comprehensions are faster than a FOR loop for generating lists.

Python Decorators are possible because of Python functions are first class objects.
First class object means that:
functions are real objects that even have own methods
a function can be assigned as a value to variables
a function can be sent to another function as an argument (like it happens with the map() function)
we can return function objects as a returning value of another function
inside a function we can define another... nested function.

Timecodes:
7:57 - the beginning of explanation.
12:35 - Python decorators for function with arguments
18:48 - Python decorators with arguments for function that have own argument


➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥
Never miss a new video.
Subscribe ⇢    / @redeyedcoderclub  

This Python decorators tutorial is about how decorators work in Python.

Python Decorators Tutorial: how Python decorators work:
   • Python Decorators Tutorial: how Python dec...  

#python #pythontutorial #redeyedcoderclub

Python Decorators Tutorial: how Python decorators work

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

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

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

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

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

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

Expert Python Tutorial #4 - Decorators

Expert Python Tutorial #4 - Decorators

Dictionary in Python: the 95.17% of What You Must Know

Dictionary in Python: the 95.17% of What You Must Know

Почему ваш код не соответствует Python (и как это исправить)

Почему ваш код не соответствует Python (и как это исправить)

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

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

Исследовательский анализ данных с помощью Pandas Python

Исследовательский анализ данных с помощью Pandas Python

Всё про ошибки в Go | Полное руководство для работы и собеседований

Всё про ошибки в Go | Полное руководство для работы и собеседований

ДАМПЫ В JAVA на практике, разбираем проблемы

ДАМПЫ В JAVA на практике, разбираем проблемы

Typst: Современная замена Word и LaTeX, которую ждали 40 лет

Typst: Современная замена Word и LaTeX, которую ждали 40 лет

Python CSV tutorial: How to read and write CSV file with Python

Python CSV tutorial: How to read and write CSV file with Python

Python — полный курс для начинающих. Этот навык изменит твою жизнь.

Python — полный курс для начинающих. Этот навык изменит твою жизнь.

PyScript and Django: Basic PyScript Frontend and DOM manipulations | PyScript tutorial

PyScript and Django: Basic PyScript Frontend and DOM manipulations | PyScript tutorial

Microsoft begs for mercy

Microsoft begs for mercy

Python debugging with Python PDB - commands, post mortem and much more | Python PDB tutorial

Python debugging with Python PDB - commands, post mortem and much more | Python PDB tutorial

5 Reasons Why Python Developers Hate Python

5 Reasons Why Python Developers Hate Python

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

[2026] Feeling Good Mix - English Deep House, Vocal House, Nu Disco | Emotional / Intimate Mood

[2026] Feeling Good Mix - English Deep House, Vocal House, Nu Disco | Emotional / Intimate Mood

Где начало СХЕМЫ? Понимаем, читаем, изучаем схемы. Понятное объяснение!

Где начало СХЕМЫ? Понимаем, читаем, изучаем схемы. Понятное объяснение!

ЧТО ЗА РАЛЬФ?  Вечный ИИ-агент для кодинга и не только

ЧТО ЗА РАЛЬФ? Вечный ИИ-агент для кодинга и не только

ООП На Простых Примерах | Объектно-Ориентированное Программирование

ООП На Простых Примерах | Объектно-Ориентированное Программирование

Python  - Полный Курс по Python [15 ЧАСОВ]

Python - Полный Курс по Python [15 ЧАСОВ]

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



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



Контакты для правообладателей: infodtube@gmail.com