---
title: "Discussion on \"How to create and delete a folder in Python using Pathlib?\" | Hashnode"
description: "Discussion on \"How to create and delete a folder in Python using Pathlib?\". This is how I use Python built-in pathlib library to efficiently create and delete folders."
url: "https://hashnode.com/posts/how-to-create-and-delete-a-folder-in-python-using-pathlib/61ea910d0b35507a93a041e5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to create and delete a folder in Python using Pathlib?](https://ayashir.hashnode.dev/how-to-create-and-delete-a-folder-in-python-using-pathlib?utm_source=hashnode&utm_medium=feed)

This is how I use Python built-in pathlib library to efficiently create and delete folders.

Jan 21, 2022 · 2 min read · ayashir.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#automation](https://hashnode.com/tag/automation)

## Written by

[Abdallah Yashir Ramsing](https://hashnode.com/@ayashir)

@ayashir · Mauritius

  
[View profile](https://hashnode.com/@ayashir)

Senior Software Engineer

Hi my name is Abdallah Yashir Ramsing. I'm a Software developer from Mauritius.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
