SHARE
TWEET

Untitled

a guest Nov 6th, 2018 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from tkinter import*
  2.  
  3. root = Tk()
  4.  
  5. label1 = Label(root,  text="Username:")
  6. label2 = Label(root , text="Password:")
  7.  
  8. label1.grid(row=0, sticky=E)
  9. label2.grid(row=1, sticky=E)
  10.  
  11. entry1 = Entry(root)
  12. entry2 = Entry(root)
  13.  
  14. entry1.grid  (row=0, column=1)
  15. entry2.grid  (row=1, column=1)
  16.  
  17. checkbox_1 = Checkbutton(root, text="Keep me logged in.")
  18. checkbox_1.grid(columnspan=2)
  19.  
  20. root.mainloop()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top