Круизная компания MSC Cruises
Морские круизы MSC Cruises: Персидский залив, Красное море, Средиземное море
root = tk.Tk() root.title("Doors Script GUI")
root.mainloop() This example creates a simple GUI with start and stop buttons for a script. You'd replace the placeholder logic in start_script and stop_script with your actual script's control logic. Doors Script Gui (Pastebin)
stop_button = tk.Button(root, text="Stop Script", command=stop_script) stop_button.pack() root = tk
start_button = tk.Button(root, text="Start Script", command=start_script) start_button.pack() "The script has started.")
def stop_script(): # Your script's stop logic here messagebox.showinfo("Script Stopped", "The script has stopped.")
def start_script(): # Your script's start logic here messagebox.showinfo("Script Started", "The script has started.")