How to get the current file type at filedialog in tkinter ?
I want to get the current filetype to help me add .gif or .png at the end when it\'s
.gif
.png