All Modules
Chapter 02 • 08

Networking, Sockets & Low-Level Protocols

12 Lessons • Hands-on practice

01

Weak References with weakref.ref

Start
02

Calling C Libraries with ctypes

Start
03

Zero-Copy Buffers with memoryview

Start
04

Fast Homogeneous Arrays with the array Module

Start
05

Optimization: Local Variable Lookup vs Global Scope

Start
06

Modern Python Type Annotations & typing

Start
07

Generics & TypeVar: Reusable Type Safety

Start
08

Structural Subtyping with typing.Protocol

Start
09

Typed Dictionaries with typing.TypedDict

Start
10

Strict Immutability with Final and @final

Start
11

Literal Types with typing.Literal

Start
12

Callable Signatures with typing.Callable

Start