File Explorer Dialog Box in Python Open file explorer dialog box UI to select files using Python. 1. Using tkinter Example using tkinter: $ python select_file_tk.py 2. Using PyQt Install PyQt5 Example using PyQt5: $ python select_file_pyqt.py