Python glob include hidden files and folders
Python glob include hidden files and folders Question: I try to loop over all files matching a certain extension, including those inside hidden folders. So far I haven’t found a way to do this with iglob. This works for all folder except those starting with a dot: import glob for filename in glob.iglob(‘/path/**/*.ext’, recursive=True): print(filename) …