Repository Details
Shared by
HelloGitHub Rating
0 ratings
用于制作简单 GUI 程序的 Python 库
Past 7 days Received 0 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 1,953 | — |
| 周三 | 1,953 | 0 |
| 周四 | 1,953 | 0 |
| 周五 | 1,953 | 0 |
| 周六 | 1,953 | 0 |
| 周日 | 1,953 | 0 |
| 周一 | 1,953 | 0 |
2k
Stars
No
Chinese
Python
Language
Yes
Active
9
Contributors
13
Issues
No
Organization
None
Latest
93
Forks
MIT
License

用于制作简单 GUI 程序的 Python 库。换一种简单的方式写 GUI(图形用户界面)程序
```python
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()
```
Comments
Rating:
No comments yet