- 博客(1)
- 收藏
- 关注
原创 使用 Python 和 Tkinter(Python 的标准 GUI 库)以及 SQLite(Python 内置的轻量级数据库)来一个简单的数据库GUI程序来管理班级信息
show_button = tk.Button(root, text="显示所有学生", command=show_students)tk.Label(root, text="姓名:").grid(row=0, column=0)tk.Label(root, text="年龄:").grid(row=1, column=0)tk.Label(root, text="性别:").grid(row=2, column=0)messagebox.showinfo("提示", "数据库中没有学生信息")
2024-06-27 23:03:29 274
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人