A Python script that automatically organizes files into folders based on their file type.
- Python
- os
- shutil
- Automatically sorts files by extension
- Creates folders if they don’t exist
- Handles unknown file types
- Simple and fast execution
- Create a folder called
files - Place your files inside it
- Run the script:
python main.py