I want to allow the users to select CSV files from the file manager. But it shows all hidden folders too, which is very inappropriate. How can I avoid hidden folders?
def importCSV(self):
self.file = filedialog.askopenfilename(initialdir = "/",title = "Select file",filetypes = (("CSV files","*.csv"),("all files","*.*")))