GUI(Tk)——01
Tk编程–01
一、流程
1.import tkinter
2.创建主窗口
3.添加交互控件
4.开启主循环
二、代码实现
1 | import tkinter as tk |
运行结果:
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
1.import tkinter
2.创建主窗口
3.添加交互控件
4.开启主循环
1 | import tkinter as tk |
运行结果: