(The -a flag stands for "all," which includes dot-files.)
self.unhide_button = tk.Button(self.root, text="Unhide Selected Files", command=self.unhide_selected_files) self.unhide_button.pack()
If you are unhiding files because your storage is full but you cannot see the culprit, proceed carefully. If you see a file you don’t recognize (especially in the root of C:\ or /System/), do not delete it. Unhide it, verify it, then research before removal.
Below is a comprehensive guide to revealing and permanently unhiding files on Windows, macOS, Android, and iOS.