Search
 
SCRIPT & CODE EXAMPLE
 

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

Comment

PREVIOUS NEXT
Code Example
Python :: Display head of the DataFrame 
Python :: try except 
Python :: python split 
Python :: intersect index in python 
Python :: pandas divide multiple columns by one column 
Python :: break line in string python 
Python :: array creation method in numpy 
Python :: python sort a 2d array by custom function 
Python :: pandas change column type 
Python :: python loop backward 
Python :: bar plot python 
Python :: abstract class python 
Python :: python dictionary pop key 
Python :: python modules 
Python :: username python system 
Python :: Python RegEx Split – re.split() 
Python :: exclude first value of an array python 
Python :: how to add a linebreak in python 
Python :: divide all values in array python 
Python :: xarray get number of lat lon 
Python :: pandas replace values 
Python :: latest version of python 
Python :: sort dict of dicts by key 
Python :: python __lt__ 
Python :: boto3.client python 
Python :: how to use if else in python 
Python :: python tuple and dictionary 
Python :: gyp err! stack error: command failed: c:python39python.exe -c import sys; print "%s.%s.%s" % sys.version_info[:3]; 
Python :: python boolean operators 
Python :: rename colums dataframe pandas 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =