tkinter filedialog comment montrer plus d'un type de fichier

from tkinter import filedialog

# To show multiple file types at the same time you need to
# seperate the types with a space
filedialog.askopenfilename(filetypes=[("Excel files", ".xlsx .xls")])

Powerful Peafowl