import os folder_path = "./folder-path" for path, currentDirectory, files in os.walk(folder_path): for file in files: if not file.startswith("."): print(os.path.join(path, file))