This project will help you to automatically delete similar images with one click and hence save your time.
This project will help you to remove automatically similar images and even pdf or text file because this can
also, be applied to text and pdf file, thus ease your work.
REQUIREMENT:-
You don't need to install any external package, the package used for this project will be pre-installed
in your Python installation irrespective of the distribution.
PACKAGE AND METHOD USED:-
*) filecmp - help us to compare files and directories, with various optional time/correctness trade-offs.
*) os - to grab and delete files present in a specific folder.
.) os.listdir() - it creates the list of all the files present in a specific directory.
IMPORTANT NOTE:-
Make sure that your Python file is present inside that folder only (where images are present), it will make
things a bit easier but if you have the file in some other folder then you have to provide the path also.
Submitted by Harshit Chaudhary (harshitchaudhary)
Download packets of source code on Coders Packet
Comments