def start_script(): # Your script's start logic here messagebox.showinfo("Script Started", "The script has started.")
def stop_script(): # Your script's stop logic here messagebox.showinfo("Script Stopped", "The script has stopped.")
root = tk.Tk() root.title("Doors Script GUI")
stop_button = tk.Button(root, text="Stop Script", command=stop_script) stop_button.pack()