Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try:
- import Tkinter as tk
- except ImportError:
- import tkinter as tk
- w = 225
- h = 150
- x = 50
- y = 100
- window = tk.Tk()
- window.title("Register")
- window.geometry("%dx%d+%d+%d" % (w, h, x, y))
- L1 = tk.Label(window, text="Username:")
- L1.place(x=1, y=20)
- x
- E1 = tk.Entry(window)
- E1.place(x=75,y=20)
- L2 = tk.Label(window, text="Password:")
- L2.place(x=1, y=60)
- E2 = tk.Entry(window)
- E2.place(x=75, y=60)
- button = tk.Button(window, text="Register")
- button.place(x=75, y=100)
- window.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement