If you are trying to associate two or more suffixes with the same file type (for example: "image files"), there are several ways to do this.
declare each suffix separately
You can specify each suffix on a separate line. They will be combined into one item in the drop-down list:
filenames = fd.askopenfilenames(
title="Choose a file",
filetypes=[('all files', '.*'),
('text files', '.txt'),
('image files', '.png'),
('image files', '.jpg'),
])
using a tuple
You can also specify them as a tuple:
filenames = fd.askopenfilenames(
title="Choose a file",
filetypes=[('all files', '.*'),
('text files', '.txt'),
('image files', ('.png', '.jpg')),
])