Daily Python Projects

Daily Python Projects

Remove Duplicate Files with Python

Level: Real-World

Ardit Sulce's avatar
Ardit Sulce
Mar 27, 2024
∙ Paid

Project Brief

Your task for this project is to write a Python script that looks in a folder and removes duplicate files.

Project Instructions

  1. Download these files and place them in an empty directory. Some of those files are duplicates.

  2. Write a Python script that removes the duplicate files located in that directory.

  3. Note that the script should work with both binary (i.e., text files) and non-binary files as well.

Environment Setup Instructions

Keep reading with a 7-day free trial

Subscribe to Daily Python Projects to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Ardit Sulce · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture