1 2 3 4 5 6 7 8
import os _path = '/Users/' #or some other path _files = os.listdir(_path) for _file in _files: print(_file)
You can clone a snippet to your computer for local editing. Learn more.