Answers for "tk inter entry"

0

tk inter entry

import tkinter as tk

master = tk.Tk()
tk.Label(master, text="First Name").grid(row=0)
tk.Label(master, text="Last Name").grid(row=1)

e1 = tk.Entry(master)
e2 = tk.Entry(master)

e1.grid(row=0, column=1)
e2.grid(row=1, column=1)

master.mainloop()
Posted by: Guest on October-21-2021

Python Answers by Framework

Browse Popular Code Answers by Language