A Python script (with GUI) that scans and removes temporary files from Windows system locations to free up disk space.
- Scans standard Windows temp directories (
%TEMP%,%LOCALAPPDATA%\Temp, etc.) - Lists files with sizes before any deletion
- Shows total space that will be freed
- One-click clean operation
- Error-safe: skips locked files gracefully
| Category | Technology |
|---|---|
| Language | Python 3 |
| GUI | tkinter, customtkinter |
| File System | os, shutil, pathlib (built-in) |
pip install customtkinter
python "Cleaner 2.0.py"
⚠️ Windows only — uses Windows-specific temp folder paths.
- Scanning system directories safely
- Handling
PermissionErrorwhen files are locked by running processes - Calculating total file sizes with
os.path.getsize() - Building a practical system utility from scratch
Made with ❤️ as part of a learning journey