How to use Open Files Dialog Box in Tkinter and Python. In this video I’ll show you how to open files with the filedialog box:
root.filename = filedialog.askopenfilename(initialdir=”/”, title=”Select A File”, filetypes=((“jpg files”, “*.jpg”),(“all files”, “*.*”)))
In this series I’ll show you how to create graphical user interfaces for Python with Tkinter.
Add comment