Recursively removes a non-empty directory
Project description
remove_directory
Function to recursively remove a non-empty directory. Posted by Boris on stackexchange.
Dependencies
None
Usage
from pathlib import Path
from remove_directory import rmdir
p = Path("/path/to/directory")
rmdir(p)
Installation
Pip
pip install remove_directory
Developer's Installation
You can clone the repository and install it with pip install -e /path/to/local/repository
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
remove_directory-0.0.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for remove_directory-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aecdca5d8919599a9ced00ef9fd2b122439a1b351f421e3e3a673924ac830bbf |
|
MD5 | 42f5fbe040c46bf59f5581e8bea409fb |
|
BLAKE2b-256 | 47947fdf0fe0f0bac0e47c3c9eaa7f88419dcc5351979260463f023b0d577140 |