Decorators


  1. Decorator
  2. Use cases for decorators in Python
  3. A recursive Fibonacci
  4. trace fibo
  5. tron decorator
  6. Decorate with direct call
  7. Decorate with parameter
  8. Decorator accepting parameter
  9. Decorate function with any signature
  10. Exercise: memoize decorator
  11. Solution memoize decorator
  12. Exercise: Logger decorator
  13. Solution: Logger decorator
  14. Solution: Logger decorator (testing)