from Tkinter import *class App: def __init__(self, root): fm = Frame(root, width=300, height=200, bg="blue") fm.pack(side=TOP, expand=NO, fill=NONE) root.geometry("600x400") Note geometry Window Manager method root = Tk()display = App(root)root.mainloop()
Name (required)
email (will not be published) (required)
Website