Myvideo

Guest

Login

Python Course :- Static & Class Method, Decorator and MetaClass Part-4

Uploaded By: Myvideo
1 view
0
0 votes
0

Hello Guys, this a Python Course in which we discuss the ’Python Static & Class Method, Decorator and MetaClass’ which analogy to : - o Coding Function Decorators  Tracing Calls  Decorator State Retention Options • Class instance attributes • Enclosing scopes and globals • Enclosing scopes and non-locals • Function attributes  Class Blunders 1: Decorating Methods • Using nested functions to decorate methods • Using descriptors to decorate methods  Timing Calls • Decorators vs per-call timing • Testing subtleties  Adding Decorator Arguments • Timing with decorator arguments  Coding Class Decorators • Singleton Classes o Coding alternatives • Tracing Object Interfaces o Tracing interfaces with class decorators o Applying class decorators to built-in types  Class Blunders 2: Retaining Multiple Instances 

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later