Answer
Python have Tkinter libraty, it contains python's standard GUI. In Tkinter module there is a function called filedialog we can use that to display a file dialog for opening a file. We need to use the procedure written below to do this:
import tkinter
root = tkinter.Tk()
root.withdraw()
filePath = tkinter.filedialog.askopenfilename()
This will display file dialog and store the address of file in filePath variable as string.
Work Step by Step
Same as above.