Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to create window in tkinter

import tkinter as tk

window = tk.Tk() #Creates a window
window.title("Trial") # Sets a title for the window
window.geometry(520,850)# Size of window optional
window.minisize(520,850) # Minimum size of window

window.mainloop()# Sets visiblility to true
 
PREVIOUS NEXT
Tagged: #create #window #tkinter
ADD COMMENT
Topic
Name
1+7 =