I have a program which creates a window where a message is displayed according to a check box.
How can I make the window size constant when the message is displayed
This is a variant of an existing solution already provided above:
import tkinter as tk root = tk.Tk() root.resizable(0, 0) root.mainloop()
The advantage is that you type less.