Browse files and subfolders in Python
Browse files and subfolders in Python Question: I’d like to browse through the current folder and all its subfolders and get all the files with .htm|.html extensions. I have found out that it is possible to find out whether an object is a dir or file like this: import os dirList = os.listdir(“./”) # current …