How do I get the width and height of a Tkinter window?
to create an exact window size you can simple do:
window.geometry("400x400") as an example but you have to make sure it is like a string otherwise it wont work like I have experience
Get Tkinter Window Size