20230328 night

This commit is contained in:
weiye.wang 2023-03-28 23:38:31 +08:00
parent b69b2e839d
commit 92163e763f
1 changed files with 5 additions and 3 deletions

View File

@ -72,11 +72,11 @@ ButtonKXTH = Button(root, text = "寻找空闲题号", command = lambda: (comman
ButtonKXTH.place(x=20,y=20)
# 批量收录题目按钮
ButtonSLTM = Button(root, text = "批量收录题目", command = lambda: (commandname.set("批量收录题目"),LabelTool.config(text = "批量收录题目")))
ButtonSLTM = Button(root, text = "批量收录题目", command = lambda: (commandname.set("批量收录题目"),LabelTool.config(text = "批量收录题目"),os.system("code 批量收录题目.py")))
ButtonSLTM.place(x=20,y=50)
# 添加关联题目STEP1按钮
ButtonTJGL = Button(root, text = "添加关联题目STEP1", command = lambda: (commandname.set("添加关联题目STEP1"),LabelTool.config(text = "添加关联题目STEP1")))
ButtonTJGL = Button(root, text = "添加关联题目STEP1", command = lambda: (commandname.set("添加关联题目STEP1"),LabelTool.config(text = "添加关联题目STEP1"),os.system("code 添加关联题目.py")))
ButtonTJGL.place(x=20,y=80)
# 添加关联题目STEP2按钮
ButtonTJGL2 = Button(root, text = "添加关联题目STEP2", command = lambda: (commandname.set("添加关联题目STEP2"),LabelTool.config(text = "添加关联题目STEP2")))
@ -85,8 +85,9 @@ ButtonTJGL2.place(x=140,y=80)
# 题库维护标签
LabelMAINTAINENCE = Label(root, text = "题库维护")
LabelMAINTAINENCE.place(x=20,y=200)
# 修改题目STEP1按钮
ButtonTJGL = Button(root, text = "修改题目STEP1", command = lambda: (commandname.set("修改题目STEP1"),LabelTool.config(text = "修改题目STEP1")))
ButtonTJGL = Button(root, text = "修改题目STEP1", command = lambda: (commandname.set("修改题目STEP1"),LabelTool.config(text = "修改题目STEP1"),os.system("code 修改题目数据库.py")))
ButtonTJGL.place(x=20,y=220)
# 修改题目STEP2按钮
ButtonTJGL2 = Button(root, text = "修改题目STEP2", command = lambda: (commandname.set("修改题目STEP2"),LabelTool.config(text = "修改题目STEP2")))
@ -106,5 +107,6 @@ ButtonGo.place(x=600, y= 550)
# 编译
root.title(rootname + " 题库工具一览")
root.mainloop()