rm(path) function - remove files and directories
Project description
Installation
$ [sudo] pip install rm
Features
- removes dirs and files
- no exception - skip if path not exists
Functions
function | __doc__ |
---|---|
rm.rm(path) |
remove path(s) (if exists) |
Examples
>>> import rm
>>> rm.rm("path/to/file") # rm file
>>> rm.rm("path/to/dir") # rm dir
>>> rm.rm(["path/to/dir","path/to/file"]) # rm multiple paths
>>> rm.rm("not-existing") # no exception
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
rm-2019.3.22.tar.gz
(1.5 kB
view hashes)
Built Distribution
rm-2019.3.22-py2.py3-none-any.whl
(151.2 kB
view hashes)
Close
Hashes for rm-2019.3.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0c46c998d90663460a8f78111af9375de33736f917c156fbd276a85abec9c71 |
|
MD5 | ed89d8d663f0605b150fb8e9b8c2114d |
|
BLAKE2b-256 | 89c2065834e53302ae4a65d93fd1268aa3e8d7e09f803c16433b6ad2545e2154 |