Loading

0-开始使用

1-安装PySimpleGUI

pip install PySimpleGUI 

2-基本框架

import PySimpleGUI as sg
 
# 布局(空白),没有任何内容/对象
layout=[[]]
 
# 创造窗口
window = sg.Window('myTitle', layout)

# 事件监听
event,values=window.read()

3-运行截图

posted @ 2023-06-27 16:58  Devinwon  阅读(31)  评论(0)    收藏  举报