Python Program using Tkinter with the place method

In this program, you will learn how to implement Tkinter with the place method in Python.

tk = Tk()

name = Label(tk, text="Name").place(x=30, y=50)

Example: How to implement Tkinter with the place method in Python

from tkinter import *

tk = Tk()

name = Label(tk, text="Name").place(x=30, y=50)
email = Label(tk, text="Email").place(x=30, y=80)
country = Label(tk, text="Country").place(x=30, y=110)

e1 = Entry(tk).place(x=120, y=50)
e1 = Entry(tk).place(x=120, y=80)
e1 = Entry(tk).place(x=120, y=110)

b1 = Button(tk, text="Sign up").place(x=80, y=180)



Xiith is created for educational, experimental, and schooling purpose. Examples on Xiith are made easier to make a better or basic understanding. Tutorials, testimonials, and examples are continuously checked to avoid delusion, but we cannot take complete responsibility of all programs on Xiith. When you are operating this site, you have to agree to read and accept our terms of use, cookie and privacy policy.Copyright © 2020 by Xiith. All Rights Reserved. About us.