Python: Decorators
Offered By: LinkedIn Learning
Course Description
Overview
Learn how to use decorators to add functionality to your Python projects.
Syllabus
Introduction
- Decorators in Python
- Working with functions in Python
- Functions within functions
- What are decorators?
- Challenge: Beautify your output
- Solution: Beautify your output
- Challenges with debugging
- Challenge: HTML styling with decorators
- Solution: HTML styling with decorators
- Functions with *args and **kwargs
- Decorators with *args and **kwargs
- Use decorators to time functions
- Challenge: Decorators with arguments
- Solution: Decorators with arguments
- Classes and decorators in Python
- Use decorators as a cache
- Install Flask
- Run Flask
- The route function in Flask
- Experiment with decorators in Python
Taught by
Jonathan Fernandes
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity