Learn threading & multiprocessing
Run Python work in parallel with threads, processes and concurrent.futures
Python's standard library offers threads (threading), processes (multiprocessing), thread-safe queues and the high-level concurrent.futures executors for running work concurrently. Threads speed up I/O-bound programs, processes sidestep the GIL for CPU-bound work, and Python 3.13 adds an experimental free-threaded build. Learning these tools lets you use every core and overlap slow I/O safely.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know