🧹 One Click System Cleaner App using Python – Clean Temp, Cache, and Log Files | FuzzuTech

 Demo :


Click Video πŸ‘‡πŸ‘‡πŸ‘‡






























App Name: One Click System Cleaner – FuzzuTech
Tech Stack: Python, CustomTkinter, Tkinter, OS, Shutil
Purpose: Clean Temp Files, Cache, and Log Files with a Single Click

Highlights:

  • πŸ’» Dark Hacker GUI

  • 🧹 Clean Windows Cache, Chrome Cache, and .log files

  • 🧠 Useful for Developers, Coders, and PC Users

  • πŸ”§ Fully Offline Utility

  • ⚡ Fast Execution | Smooth UI | 100% Python

✨ Created by [FuzzuTech] – Subscribe on YouTube for more Viral Python Projects!

πŸŽ₯ Watch the full demo


Code :


import customtkinter as ctk

import os, shutil

from tkinter import messagebox


# πŸ”§ UI Appearance Setup

ctk.set_appearance_mode("dark")

ctk.set_default_color_theme("green")


# ✅ Temp Cleaner

def clean_temp():

    try:

        temp = os.getenv('TEMP')

        for root, dirs, files in os.walk(temp):

            for file in files:

                try: os.remove(os.path.join(root, file))

                except: pass

        messagebox.showinfo("Done ✅", "Temp files cleaned successfully!")

    except Exception as e:

        messagebox.showerror("Error", str(e))


# ✅ Cache Cleaner

def clean_cache():

    try:

        paths = [

            os.path.expanduser("~\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Cache"),

            os.path.expanduser("~\\AppData\\Local\\Microsoft\\Windows\\INetCache")

        ]

        for path in paths:

            if os.path.exists(path):

                shutil.rmtree(path, ignore_errors=True)

        messagebox.showinfo("Done ✅", "Cache cleaned successfully!")

    except Exception as e:

        messagebox.showerror("Error", str(e))


# ✅ Log Cleaner

def clean_logs():

    try:

        log_path = os.path.expanduser("~\\AppData\\Local\\Temp")

        count = 0

        for file in os.listdir(log_path):

            if file.endswith(".log"):

                try:

                    os.remove(os.path.join(log_path, file))

                    count += 1

                except:

                    pass

        messagebox.showinfo("Done ✅", f"{count} log files deleted!")

    except Exception as e:

        messagebox.showerror("Error", str(e))


# πŸ–₯️ App Layout

app = ctk.CTk()

app.geometry("500x420")

app.title("🧹 One Click System Cleaner - FuzzuTech")


ctk.CTkLabel(app, text="🧼 System Cleanup Utility", font=ctk.CTkFont(size=24, weight="bold")).pack(pady=20)


ctk.CTkButton(app, text="πŸ—‘ Clean Temp Files", command=clean_temp, width=280, height=45).pack(pady=10)

ctk.CTkButton(app, text="🧩 Clean Browser Cache", command=clean_cache, width=280, height=45).pack(pady=10)

ctk.CTkButton(app, text="🧾 Clean Log Files", command=clean_logs, width=280, height=45).pack(pady=10)


ctk.CTkLabel(app, text="✨ Developed by FuzzuTech", font=ctk.CTkFont(size=14)).pack(pady=20)


app.mainloop()

Comments

Popular posts from this blog

πŸš€ Simple Login & Registration System in Python Tkinter πŸ“±

πŸš€ Create a Python Screen Recorder with Audio (Complete Code)

πŸ“‘ Fuzzu Packet Sniffer – Python GUI for Real-Time IP Monitoring | Tkinter + Scapy