file open dialog python code example
Example: 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