Python Tutorials – Property Decorators Part 2 | Properties | Video



In this Python programming video tutorial we will learn about the property decorator in detail.

Property decorator is a built in decorator which allow us to use class method as attributes. The main purpose of any decorator is to change your class methods or attributes in such a way so that the user of your class no need to make any change in their code. property decorator serve this purpose.

READ ALSO:  [Hindi] Introduction To Pandas Module - Python Data Science and Big Data Tutorials | Video

Decorators All videos:
https://www.youtube.com/playlist?list=PLzgPDYo_3xukWUakgF-OJvDOChq6drPG2

Property Decorator Part 1:
https://www.youtube.com/watch?v=5-S_B6nAzO8

#PythonProgramming #Decorators #@property

For more free tutorials on computer programming

http://www.facebook.com/AmulsAcademy
http://www.twitter.com/AmulsAcademy

Instagram Id:
Amuls Academy
Proudly WWW.PONIREVO.COM

Source

9 Comments

  1. I don't really understand private variables honestly. What is the point in them being private if you can access them like any other attribute? Of course I'm missing something but I don't understand.

  2. one suggestion: make these videos short: prepare your code in advance and go to the main point. we don't need to go through all cumbersome class definition line by line. if someone wants to know about decorators, he possibly know those basic stuff. tnx

Comments are closed.