specify dimensions to window in tkinter code example
Example 1: python tkinter define window size
window = Tk()
#set window size
window.geometry("widthxheight")
Example 2: python tkinter window size
#import statement
from tkinter import *
#create GUI Tk() variable
gui = Tk()
#set window size
gui.geometry("widthxheight")