参考https://gitee.com/cx20201316/text/blob/master/GUI.py

代码运行如下