All Modules
Chapter 02 • 09

Performance Profiling, Memory & C Extensions

12 Lessons • Hands-on practice

01

Overloaded Functions with @typing.overload

Start
02

Modern Union Operator X | Y (Python 3.10+)

Start
03

Runtime Type Inspection with get_type_hints

Start
04

Generic Classes with Generic[T]

Start
05

Spawning External Commands with subprocess.run

Start
06

Streaming Command Output with subprocess.Popen

Start
07

Capturing Standard Error & Return Codes

Start
08

Handling OS Signals with the signal Module

Start
09

Creating Graceful Shutdown Handlers

Start
10

Interacting with Environment Variables: os.environ

Start
11

File Descriptor Manipulation with os.pipe

Start
12

Temporary Files and Directories with tempfile

Start