Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tkfiledialog python 3 example

from  tkinter import *
root = Tk()
root.filename =  filedialog.askopenfilename(initialdir = "E:/Images",title = "choose your file",filetypes = (("jpeg files","*.jpg"),("all files","*.*")))
print (root.filename)
root.withdraw()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #tkfiledialog #python
ADD COMMENT
Topic
Name
9+1 =