kann man einem Button als command den Befehl sys.exit geben wenn ja wie.
Code: Alles auswählen
StopScriptButton = Button(Mainwindow, text = "Stop script",bg = "red", width = 25, height = 2, command = ???????)
StopScriptButton.place(x = 215, y = 30)
Psus82