Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create exact window size in python tkinter

import tkinter as tk #import the module
window = tk.Tk() #set the window
window.geometry("400x400") #make the window a size (include as a stirng
window.mainloop() #load the window
Source by pythonexamples.org #
 
PREVIOUS NEXT
Tagged: #create #exact #window #size #python #tkinter
ADD COMMENT
Topic
Name
5+7 =