Answers for "open file dialog without library python"

1

how to open file dialog in pytohn

from tkinter import Tk
from tkinter.filedialog import askopenfilename

Tk().withdraw() # Added so Tk window doesn't appear on opening the dialog
filePath = askopenfilename() # Full pile will be returned as string
Posted by: Guest on March-01-2021

Code answers related to "open file dialog without library python"

Python Answers by Framework

Browse Popular Code Answers by Language