Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tkinter import *
- root = Tk()
- fm = Frame(root)
- #fm.pack(fill=BOTH)
- Button(fm, text="Login", fg="red").pack()
- fm_loc = Entry(fm)
- fm.grid(row=2)
- label_1 = Label(root, text="Username:")
- label_2 = Label(root, text="Password:")
- label_1.grid(row=0)
- label_2.grid(row=1)
- entry_1 = Entry(root)
- entry_2 = Entry(root)
- entry_1.grid(row=0,column=1)
- entry_2.grid(row=1,column=1)
- root.mainloop()
Add Comment
Please, Sign In to add comment