select_files

support.text.select_files(pattern, text='Select file(s) by number separated with spaces: ', ftype=None, single=False)

Select files by glob pattern

Present the user with a numbered list of files based on a glob pattern. The user selects the files by number, separated by spaces if more than one, and returns a list with the selected files. If only one file is selected, then just that name is returned.