Project
Duplicate File Handler (Python)
Hard
529 completions
~ 23 hours
4.3Learn how to work with files and folders. Get familiar with hashing, learn how to apply it to your tasks.
Provided by
JetBrains Academy
About
Duplicate File Handler is a useful tool that can free some space on your drive. Write a handler that checks and compares files in a folder, displays the result, and removes duplicates. You will practice concepts frequently tested in technical interviews at top tech companies.
Training project
This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.
What you'll learn
Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Scan files and folders with the help of the OS module.
Use file sizes to find duplicate files.
Learn about hash functions and implement them in your code.
Let's delete all duplicates.
Reviews
4 months ago
In this project, I learned how to work with command-line arguments, walk through directories with os.walk, filter files by extension, group files by size, and use MD5 hashes to identify duplicates more accurately. I also practiced validating user input and safely deleting selected files. The main di ...
4.3
Learners who completed this project within the Python with Algorithms for Tech Interviews course rated it as follows: