01Chapter 1: Why pathlib: paths as objects instead of stringsThis chapter assumes basic Python syntax, functions, loops, strings, and familiarity with files and directories. A path is the location of a file or directory, such as reports/summary.csv.1 min read
02Chapter 2: Deriving new paths: with_name, with_suffix, relative_toAssume you know basic Python syntax, functions, loops, and the difference between files and directories. This chapter uses Path objects to transform paths and perform common file operations.1 min read
03Chapter 3: Creating and listing directoriesAssume basic Python functions, loops, and file-system concepts. This chapter uses Path objects and changes a temporary directory so the examples are safe to run.1 min read