Python provides a high-level path object with `pathlib`[^1], which is included in the standard library[^2]. This makes it simpler to find all html files to process. [^1]: https://docs.python.org/3/library/pathlib.html#module-pathlib [^2]: https://peps.python.org/pep-0428/