Skip to main content

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

python-readme-generator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rm, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size rm-2019.4.13.tar.gz (1.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page