Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tkinter filedialog how to show more than one filetype

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")])

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #tkinter #filedialog #show #filetype
ADD COMMENT
Topic
Name
8+1 =