A simple and efficient Python automation tool that automatically organizes files into categorized folders (Images, Documents, Videos, Audio, and Archives). This mini-project demonstrates Python automation, file handling, and OS directory operations β perfect for beginners and portfolio building.
β Automatically scans a folder β Detects file types by extension β Creates folders only when needed β Moves files into correct folders β Clean and structured output in console β Useful for desktops with messy files β Lightweight & beginner-friendly
After running the script, your directory looks like this:
Images/
Documents/
Videos/
Audio/
Archives/
Each folder contains its respective files automatically sorted.
Python 3
OS module
Shutil module
Choose a folder containing unorganized files
Run the script
The script reads all file extensions
Creates required folders
Moves files into the correct category
Simple. Fast. Automated.
Install Python
Download this repository
Open the project folder in CMD or VS Code
Run:
python File_Organizer.pyThatβs it β your files will be organized instantly!
Python file handling
Automating daily tasks
Working with OS paths
Using loops and conditions
Building real-world Python mini tools
Perfect for beginners looking to increase skills and GitHub activity.
Moved Ali_Hassan_CV.pdf β Documents Moved Screenshot (10).png β Images Moved song.mp3 β Audio Moved video.mp4 β Videos
Want to improve this project? Feel free to fork the repo and submit a pull request!
Ali Hassan GitHub: https://github.com/alisuports70-droid