Skip to content

Glossary: Python Beyond the Basics

pathlib

Also written: Path, path, stem, suffix, mkdir

A module whose `Path` objects handle file and folder addresses correctly on every system; `/` joins pieces and methods like `read_text`, `mkdir` and `glob` work with files.

Where the book teaches it

Related terms

glob / rglobbyte