All Modules
Chapter 02 • 04

Closures, Scope & Advanced Decorators

12 Lessons • Hands-on practice

01

Stacking Multiple Decorators

Start
02

Class-Based Decorators with __call__

Start
03

Method Decorators vs Function Decorators

Start
04

Memoization & Caching with @functools.lru_cache

Start
05

CPU-Bound vs I/O-Bound Bottlenecks

Start
06

Concurrency vs Parallelism: The Core Difference

Start
07

The Global Interpreter Lock (GIL) Demystified

Start
08

Coroutines: async def and await

Start
09

Executing Async Tasks: asyncio.run()

Start
10

Concurrent Execution with asyncio.gather()

Start
11

Async Timeouts with asyncio.wait_for

Start
12

Async Iterators: async for and __aiter__

Start