rm(path) function - remove files and directories
Project description
Install
$ [sudo] pip install rm
Features
- removes dirs and files
- no exception - skip if path not exists
Functions
function | description |
---|---|
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
readme-md - README.md generator
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-2018.11.20.tar.gz
(1.4 kB
view hashes)
Built Distribution
Close
Hashes for rm-2018.11.20-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a4272fe2e8fff9d5e2bdcdee6344dfc3961e8637ad9da4d44e54e459bf847a6 |
|
MD5 | df80ba10f53441ed3c3e20feeafeb167 |
|
BLAKE2b-256 | 68230a2228c5b5936cbda01bf22b333b5abeb7de7b1d4e9b2fc656dfa230ef0e |