import tkinter as tk
app = tk.Tk()
app.geometry("400x200")
entryExample = tk.Entry(app,
width=10)
entryExample.pack(side=tk.LEFT,
padx=10)
app.mainloop()
import tkinter as tk
app = tk.Tk()
app.geometry("400x200")
entryExample = tk.Entry(app)
entryExample.place(x = 10,
y = 10,
width=200,
height=100)
app.mainloop()
import tkinter as tk
app = tk.Tk()
entryExample1 = tk.Entry(app)
entryExample2 = tk.Entry(app)
entryExample1.grid(row=0,
column=0,
padx=10,
pady=10,
ipady=50)
entryExample2.grid(row=0,
column=1,
padx=10,
pady=10,
ipady=60)
app.geometry("300x200")
app.mainloop()