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 code makes a window with the conditions that the user cannot change the dimensions of the Tk() window, and also disables the maximise button.
import tkinter as tk
root = tk.Tk()
root.resizable(width=False, height=False)
root.mainloop()
Within the program you can change the window dimensions with @Carpetsmoker's answer, or by doing this:
root.geometry('{}x{}'.format(, ))
It should be fairly easy for you to implement that into your code. :)