read file directory

PHOTO EMBED

Wed Oct 20 2021 01:52:13 GMT+0000 (Coordinated Universal Time)

Saved by @Ariendal #python #pandas

import os
for dirname, _, filenames in os.walk('/kaggle/input'):
    for filename in filenames:
        print(os.path.join(dirname, filename)) 
content_copyCOPY