Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

🧹 Temp Cleaner

A Python script (with GUI) that scans and removes temporary files from Windows system locations to free up disk space.


✨ Features

  • 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

🖥️ Tech Stack

Category Technology
Language Python 3
GUI tkinter, customtkinter
File System os, shutil, pathlib (built-in)

🚀 Getting Started

pip install customtkinter
python "Cleaner 2.0.py"

⚠️ Windows only — uses Windows-specific temp folder paths.


📝 What I Learned

  • Scanning system directories safely
  • Handling PermissionError when 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