Spaces:
Runtime error
Runtime error
File size: 418 Bytes
8f412ba |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import os
def getEveryFramPath(directoryPath):
# Define the directory path
directory_path = directoryPath
# Get the list of all file paths
file_paths = []
for root, directories, files in os.walk(directory_path):
for filename in files:
file_paths.append(os.path.join(root, filename))
# Print the list of file paths
print(file_paths)
return file_paths |