A python library to remove content of a directory, or file in a safer manner. After running pyflush, it became much safer to delete the file/directory manually/programmatically.
Project description
pyflush
This repository contains python code to remove content of a directory, or file in a safer manner. After running pyflush, it became much safer to delete the file manually/programmatically.
Developer: Ravin Kumar
Steps to use pyflush
- Removing a file
import pyflush
pyflush.flushfile("filename.txt")
- Removing a directory
import pyflush
pyflush.flushdir("directoryname")
Installation using PyPi
pip3 install pyflush
Note: This work can be used freely for academic research work and individual non-commercial projects, please do provide citation and/or deserved credits to this work. For Industrial and commercial use permission is required from the Developer.
NOTE: Please use this library at your own risk !!!
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
pyflush-0.0.2.tar.gz
(1.8 kB
view hashes)