- 1. Python Decorators
- 2. Decorators
- 2.1. Decorators: simple example
- 2.2. Decorators - Flask
- 2.3. Decorators - Pytest
- 2.4. Decorators caching - no cache
- 2.5. Decorators caching - with cache
- 2.6. LRU - Least recently used cache
- 2.7. LRU - Least recently used cache
- 2.8. OOP - classmethod - staticmethod
- 2.9. Use cases for decorators in Python
- 2.10. Function assignment
- 2.11. Function assignment - alias print to say
- 2.12. Function assignment - don't do this
- 2.13. Passing functions as parameters
- 2.14. Traversing directory tree
- 2.15. Declaring Functions inside other function
- 2.16. Returning a new function from a function
- 2.17. Returning a closure
- 2.18. Decorator
- 2.19. Decorator Demo
- 2.20. Decorator to register function
- 2.21. A recursive Fibonacci
- 2.22. trace fibo
- 2.23. tron decorator
- 2.24. Decorate with direct call
- 2.25. Decorate with parameter
- 2.26. Decorator accepting parameter
- 2.27. Decorate function with any signature
- 2.28. Decorate function with any signature - implementation
- 2.29. Decorate function with any signature - skeleton
- 2.30. Decorate function with any signature - skeleton with name
- 2.31. Functool - partial
- 2.32. Exercise: Logger decorator
- 2.33. Exercise: decorators decorator
- 2.34. Solution: Logger decorator
- 2.35. Solution: Logger decorator (testing)
- 2.36. Solution decorators decorator
- 2.37. A list of functions
- 2.38. Insert element in sorted list using insort