list all files in a folder

PHOTO EMBED

Tue May 25 2021 06:00:09 GMT+0000 (Coordinated Universal Time)

Saved by @aurora1625 #python

from pathlib import Path
p = Path(r'../data/property_files/final_source_matching_file').glob('**/*')
files = [x for x in p if x.is_file()]
content_copyCOPY