---
title: "Comment by Christian Ledermann on \"How to get the current directory in python?\" | Hashnode"
description: "I prefer pathlib for interacting with the filesystem"
url: "https://hashnode.com/posts/how-to-get-the-current-directory-in-python/60a795d420d1f45ceb7ec259/comment/60a9394d5379f65d10b5fbcf"
---

[Discussion](https://hashnode.com/posts/how-to-get-the-current-directory-in-python/60a795d420d1f45ceb7ec259)

Comment [How to get the current directory in python?](https://hashnode.com/posts/how-to-get-the-current-directory-in-python/60a795d420d1f45ceb7ec259)

[Christian Ledermann](https://hashnode.com/@cleder)

[May 22, 2021](https://hashnode.com/posts/how-to-get-the-current-directory-in-python/60a795d420d1f45ceb7ec259/comment/60a9394d5379f65d10b5fbcf)

I prefer pathlib for interacting with the filesystem
