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(';'))