Source Code:
(back to article)
import os path = '/path/to/directory' files = os.listdir(path) for file in files: print(file)
Result:
Report an issue