Commit b41ce24c by BellCodeEditor

save project

parent 1ffd83f3
Showing with 25 additions and 4 deletions
import tkinter import tkinter as tk
root = tkinter.Tk() def register():
name = a1.get()
paw1 = a2.get()
paw2 = a3.get()
print("information",name,paw1,paw2)
root = tk.Tk()
root.title("啥也不是") root.title("啥也不是")
root.geometry("400x320+500+300") root.geometry("400x320+500+300")
root.mainloop() a1 = tk.Entry(root,show=None,font = ('宋体',14),bg="light grey",width=18)
a1.place(x=140,y=80)
a2 = tk.Entry(root,show="^",font = ('宋体',14),bg="light grey",width=18)
a2.place(x=140,y=140)
a3 = tk.Entry(root,show="%",font = ('宋体',14),bg="light grey",width=18)
a3.place(x=140,y=200)
lab = tk.Label(root,text="information",font = ('宋体',14),width=18)
lab.place(x=0,y=0)
lab1 = tk.Label(root,text="name",font = ('宋体',14),width=18)
lab1.place(x=60,y=80)
lab2 = tk.Label(root,text="password",font = ('宋体',14),width=18)
lab2.place(x=60,y=140)
lab3 = tk.Label(root,text="jdjdj",font = ('宋体',14),width=18)
lab3.place(x=50,y=200)
button=tk.Button(root,text="send",font = ('宋体',14),width=18,command = register)
button.place(x=150,y=250)
root.mainloop()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment