from tkinter import * from tkinter import ttk root = Tk() root.title('Frame') fx = ttk.Frame(root,height=500,width=500, relief='sunken',borderwidth=5) fx.grid() root.mainloop()