Ratings & reviews

This course does not have any reviews.
Your review could be the first one.

0%
0%
0%
0%
0%
info

Complete all chapters to get certificate

0%

Scopes

chevron

Python code distributes variables and objects across different environments isolated from each other. They are called scops. Let's study them, shall we?

What are scopes?

Built-In and Global Scopes

Local Scope

Non-local Scope

Challenge: Device Boots Count

Closure

chevron

To learn closure, you must complete the previous section, "Scopes". The closure is used for decorators, caching, and other programming tools.

What is Closure?

Implementation of Closure

Closure with Arguments

Challenge: Text Cache

Decorators

chevron

Decorators are widely used in real development. They open up many possibilities for us, and it is worth knowing how they work. To understand decorators, you need to know scopes and closures.

What are Decorators?

Decorator Usage

Flexible Decorators

Challenge: Type Validation Decorator

Decorator with Parameters

Challenge: Flexible Type Validation Decorator