79761500

Date: 2025-09-11 05:34:26
Score: 2
Natty:
Report link

import tkinter as tk

root = tk.Tk()

root.title("Auto Close")

root.geometry("300x100")

tk.Label(root, text="This window will close in 5 seconds.").pack(pady=20)

# The window closes after 5000 milliseconds (5 seconds)

root.after(5000, lambda: root.destroy())

root

.mainloop()

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Brother archem Sales aceron