---
title: "Comment by Roger Demetrescu on \"Python pathlib Cookbook: 57+ Examples to Master It (2022)\" | Hashnode"
description: "Amazing article!! Thanks a lot for sharing it! just found one minor typo: &quot;Another benefit is that is the directory is not empty, ...&quot; should be &quot"
url: "https://hashnode.com/posts/python-pathlib/617e57d8d55bde5cb6682432/comment/61897d73ce9e5f6dfd7858ee"
---

[Discussion](https://hashnode.com/posts/python-pathlib/617e57d8d55bde5cb6682432)

Comment [Python pathlib Cookbook: 57+ Examples to Master It (2022)](https://hashnode.com/posts/python-pathlib/617e57d8d55bde5cb6682432)

[Roger Demetrescu](https://hashnode.com/@rdemetrescu)

[Nov 8, 2021](https://hashnode.com/posts/python-pathlib/617e57d8d55bde5cb6682432/comment/61897d73ce9e5f6dfd7858ee)

Amazing article!! Thanks a lot for sharing it!

just found one minor typo:

"Another benefit is that **is** the directory is not empty, ..."

should be

"Another benefit is that **if** the directory is not empty, ..."
