human/utils.py
2024-09-12 08:15:09 +08:00

13 lines
230 B
Python

#encoding = utf8
import os
def read_files_path(path):
file_paths = []
files = os.listdir(path)
for file in files:
if not os.path.isdir(file):
file_paths.append(path + file)
return file_paths