from tkinter import *
import sys
def jiemian():
root = Tk()
root.title("社会工程学字典")
Label(root, text="欢迎使用来自哪吒的生成字典").grid(row=0)
#输入框
NEIRONG = ["生日: ","姓名(拼音): ","姓名拼音缩写: ","配偶生日: ","配偶姓名拼音缩写: ","QQ号","常用密码","手机号","电话号",]
i = 1
for each in NEIRONG:
Label(root, text=each).grid(row=i,column=0)
i += 1
e1 = Entry(root)
e2 = Entry(root)
e3 = Entry(root)
e4 = Entry(root)
e5 = Entry(root)
e6 = Entry(root)
e7 = Entry(root)
e8 = Entry(root)
e9 = Entry(root)
e1.grid(row=1,column=1,padx=10,pady=5)
e2.grid(row=2,column=1,padx=10,pady=5)
e3.grid(row=3,column=1,padx=10,pady=5)
e4.grid(row=4,column=1,padx=10,pady=5)
e5.grid(row=5,column=1,padx=10,pady=5)
e6.grid(row=6,column=1,padx=10,pady=5)
e7.grid(row=7,column=1,padx=10,pady=5)
e8.grid(row=8,column=1,padx=10,pady=5)
e9.grid(row=9,column=1,padx=10,pady=5)
#导入按钮事件
def daoru():
pass
#待写入
Button(root, text="导入常见弱口令", width=12, command=daoru).grid(row=13, column=0)
#开始生成
def start():
a1=e1.get()
a2=e2.get()
a3=e3.get()
a4=e4.get()
a5=e5.get()
a6=e6.get()
a7=e7.get()
a8=e8.get()
a9=e9.get()
line = [a1,a2,a3,a4,a5,a6,a7,a8,a9]
Button(root, text="开始生成", width=10, command=start).grid(row=13, column=1)
root.mainloop()#开始主事件循环
if __name__ == '__main__':
jiemian()