simple.py
import PySimpleGUI as sg
layout = [
[sg.Text("username : "), sg.InputText(key='username')],
[sg.Text("password : "), sg.InputText(key='password', password_char='*')],
]
window = sg.Window("simple.py", layout)
while True:
values = window.read()
window.close()
Recommended Posts