The Python standard library
Python includes a rich set of built-in modules. The standard library provides tools for working with files, time, randomness, and error handling.
- The file system — Managing paths, files, and directories.
- Dates, times, and durations — Representing and comparing time values.
- Identifiers and randomness — Generating unique IDs and random numbers.
- Handling errors with exceptions — Catching and managing runtime errors.