Skip to main content

rm(path) function - rm file/dir

Project description

https://img.shields.io/badge/Language-Python-blue.svg?style=plastic https://img.shields.io/pypi/pyversions/rm.svg https://img.shields.io/pypi/v/rm.svg

https://api.codacy.com/project/badge/Grade/59291adefe0b4daeb39f5a3f5666f273 https://codeclimate.com/github/russianidiot/rm.py/badges/gpa.svg https://landscape.io/github/russianidiot/rm.py/master/landscape.svg?style=flat https://scrutinizer-ci.com/g/russianidiot/rm.py/badges/quality-score.png?b=master

Install

`[sudo] pip install rm`

Features

  • dirs and files supported

  • ~, .., . expand

  • no exception if path not exists

Usage

>>> from rm import rm

>>> rm(path)

Examples

>>> rm("path/to/file")
>>> rm("path/to/dir")
>>> rm("not-existing") # no exception

Feedback github_follow github_issues

Project details


Download files

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

Source Distribution

rm-0.0.26.tar.gz (2.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page