Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to openn file dialog in tkinter

from tkinter import filedialog
text_file=filedialog.askopenfilename(initialdir="D:/IT related folders and documents/",title="Open Text File",filetypes=(("Text Files", "*.txt"),))
 
PREVIOUS NEXT
Tagged: #openn #file #dialog #tkinter
ADD COMMENT
Topic
Name
8+1 =