uehara ai
0
Q:

tkinter geometry

root=Tk()
root.geometry('200x150') 
2
# importing only those functions which 
# are needed 
from tkinter import Tk, mainloop, TOP 
from tkinter.ttk import Button 
  
# creating tkinter window 
root = Tk() 
  
# creating fixed geometry of the 
# tkinter window with dimensions 150x200 
root.geometry('200x150 + 400 + 300') 
  
button = Button(root, text = 'Geeks') 
button.pack(side = TOP, pady = 5) 
  
mainloop() 
0

New to Communities?

Join the community