Reputation: 411
i am trying to browse a only excel files but How to restrict the file type in PySimpleGUI browse button .
Upvotes: 12
Views: 17839
Reputation: 411
layout = [[sg.In() ,sg.FileBrowse(file_types=(("Text Files", "*.txt"),))]]
Upvotes: 16