I created a .py script that autofill some forms using Selenium. In the start of the code, I used Tkinter extension to use the messagebox and filedialog function.
My code runs fine, but everytime I got an annoying window called "tk" (I guess it is related to Tkinter). This window is blank, but I would like to remove it from my code run.
Is there a way to do this?

tkinter.Tk()then call<tkinter.Tk>.withdraw()to hide the window. When you are done with thefiledialog, call<tkinter.Tk>.destroy()to destroy the window