In this picture you can see that the left dialog has a lower resolution then then right one.
Why folders are different?
I'm working with Python 3 and here's my code
from tkinter.filedialog import askopenfilename
askopenfilename(
initialdir = "/",
title = "Select a File",
filetypes = (("Text files", "*.txt*"), ("all files", "*.*"))
)
I finally found the answer. You just have to import the pyautogui
module into program.
import pyautogui