πŸ’» Fake Windows Format GUI in Python – FuzzuTech Project

 Demo :


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





Post Features:

  • 🌟 Embed YouTube Short

  • πŸ“Έ Screenshots of GUI (optional)

  • πŸ“„ Code Snippet/Download Link (if desired)

  • πŸ”— Link to GitHub (optional)

  • ⚠️ Disclaimer: This project is for educational purposes only.


Code :


import tkinter as tk

from tkinter import ttk

import time

import threading


# ---- Format Simulation Function ----

def start_formatting():

    start_btn.config(state="disabled")

    status_label.config(text="Formatting in progress...\nDo not turn off your computer.", fg="white")

    for i in range(101):

        progress_bar["value"] = i

        percent_label.config(text=f"{i}% Completed")

        time.sleep(0.07)

        root.update_idletasks()


    status_label.config(text="Format Complete.\nRestarting system...", fg="lime")

    percent_label.config(text="Done ✔")


# ---- Thread Wrapper ----

def threaded_start():

    threading.Thread(target=start_formatting).start()


# ---- Main GUI ----

root = tk.Tk()

root.title("Windows Format Utility")

root.geometry("550x350")

root.configure(bg="#111")


# ---- Title ----

title = tk.Label(root, text="Formatting Drive (C:)", font=("Segoe UI", 22, "bold"), bg="#111", fg="#00ffff")

title.pack(pady=20)


# ---- Progress Bar ----

progress_bar = ttk.Progressbar(root, orient=tk.HORIZONTAL, length=500, mode='determinate', style="Custom.Horizontal.TProgressbar")

progress_bar.pack(pady=15)


# ---- Progress Percentage ----

percent_label = tk.Label(root, text="0% Completed", font=("Consolas", 14), fg="white", bg="#111")

percent_label.pack(pady=5)


# ---- Status Label ----

status_label = tk.Label(root, text="", font=("Segoe UI", 12), fg="white", bg="#111")

status_label.pack(pady=10)


# ---- Start Button ----

start_btn = tk.Button(root, text="Start Format", font=("Segoe UI", 14, "bold"), bg="#ff4444", fg="white", padx=20, pady=10, command=threaded_start)

start_btn.pack(pady=30)


# ---- ProgressBar Style ----

style = ttk.Style()

style.theme_use("default")

style.configure("Custom.Horizontal.TProgressbar", thickness=20, troughcolor='#222', background='#00ff00', bordercolor='#111')


# ---- Launch ----

root.mainloop()

Comments

Popular posts from this blog

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

πŸ”₯ Advanced MP3 Music Player in Python | CustomTkinter + Pygame | Free Source Code

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