https://github.com/alfiopuglisi/guietta
换一种简单的方式写 GUI(图形用户界面)程序。
```
from guietta import _, Gui, Quit
gui = Gui(
[ "Enter numbers:", "__a__", "+", "__b__", ["Calculate"] ],
[ "Result: -->", "result", _, _, _ ],
[ _, _, _, _, Quit ]
)
with gui.Calculate:
gui.result = float(gui.a) + float(gui.b)
gui.run()
```
![0d72fc991403c61b172708c2f990f609.png](https://ppmm.org/images/2021/07/16/0d72fc991403c61b172708c2f990f609.png)
直观易懂