Pathlib Module: Modern Path Handling Made Simple
TL;DR
The pathlib module provides object-oriented path handling with the Path class, replacing string-based os.path operations with intuitive methods for cross-platform file and directory manipulation.