from tkinter import Tk from tkinter import Frame from tkinter import Button gyoker = Tk() keret = Frame(gyoker, width=800,height=600) keret.pack() gomb1 = Button(gyoker, text="Első") gomb2 = Button(gyoker, text="Második") gomb1.place(x=200, y=200) gomb2.place(x=100, y=200) gyoker.mainloop()