📅  最后修改于: 2022-03-11 14:55:56.910000             🧑  作者: Mango
import PySimpleGUI as sg
event, values = sg.Window('Window Title').Layout([[sg.Input(key='_FILES_'), sg.FilesBrowse()], [sg.OK(), sg.Cancel()]]).Read()
print(values['_FILES_'].split(';'))