From 976b8794de0ccb45dea5e5f823b998ee0cafb166 Mon Sep 17 00:00:00 2001 From: ppt527xkf <528893182@qq.com> Date: Sun, 2 Jun 2024 22:23:52 +0800 Subject: [PATCH] ADD file via upload --- main.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..8f64429 --- /dev/null +++ b/main.py @@ -0,0 +1,17 @@ +import tkinter as tk +from ui import create_main_menu + +def main(): + # 创建主窗口 + root = tk.Tk() + root.title("角色控制系统") + root.geometry("300x200") + + # 创建主菜单界面 + create_main_menu(root) + + # 运行主循环 + root.mainloop() + +if __name__ == "__main__": + main() \ No newline at end of file