Answers for "how to openn file dialog in tkinter"

1

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"),))
Posted by: Guest on September-07-2021

Code answers related to "how to openn file dialog in tkinter"

Python Answers by Framework

Browse Popular Code Answers by Language