Python Tutorials - Decorators Part 2 | Multiple Decorators | General Decorators | Parameters

Описание к видео Python Tutorials - Decorators Part 2 | Multiple Decorators | General Decorators | Parameters

In this Python programming video tutorial we will learn about decorators in detail.

Decorators are very powerful and useful tool in Python since it allows programmers to modify the behavior of function or class.

In this tutorial we will see how to use multiple decorators on single function , general decorators and how to use parameter in decorator function in detail with example.

*args:
*args is used to send a non-keyworded variable length argument list to the function.

The syntax is , the symbol * followed by a name.
by convention, it is often used with the word args.

Using the *, the variable that we associate with the * becomes an iterable meaning you can iterate over it.

Namespace and Variable Scope:

   • Python Tutorials - Namespace and Vari...  

LEGB rule:

   • Python Tutorials - LEGB Rule | Local ...  

Closure:

   • Python Tutorials - Closure | Nested F...  

Decorator introduction:

   • Python Tutorials - Decorators Part 1 ...  

#PythonProgramming #Decorators

For more free tutorials on computer programming

  / amulsacademy  
  / amulsacademy  

Комментарии

Информация по комментариям в разработке