YoVDO

Python: Decorators

Offered By: LinkedIn Learning

Tags

Python Courses Flask Courses

Course Description

Overview

Learn how to use decorators to add functionality to your Python projects.

Syllabus

Introduction
  • Decorators in Python
1. Functions
  • Working with functions in Python
  • Functions within functions
2. Getting Started
  • What are decorators?
  • Challenge: Beautify your output
  • Solution: Beautify your output
  • Challenges with debugging
  • Challenge: HTML styling with decorators
  • Solution: HTML styling with decorators
3. Decorators with Arguments
  • Functions with *args and **kwargs
  • Decorators with *args and **kwargs
  • Use decorators to time functions
  • Challenge: Decorators with arguments
  • Solution: Decorators with arguments
4. Decorators with Classes
  • Classes and decorators in Python
  • Use decorators as a cache
5. Decorators in the Real World
  • Install Flask
  • Run Flask
  • The route function in Flask
Conclusion
  • Experiment with decorators in Python

Taught by

Jonathan Fernandes

Related Courses

Application Development using Microservices and Serverless
IBM via Coursera
Automating Real-World Tasks with Python
Google via Coursera
Building a REST API with Python and Flask
Coursera Project Network via Coursera
Building Chatbot with Google DialogFlow
Coursera Project Network via Coursera
Ciclo completo del desarrollo de un proyecto de Data Science
Coursera Project Network via Coursera