Hi,
To get the file size, i am using the parameter size
for files in folder_1:
if files.type != 'folder':
print(files.size)But i am getting an error saying
AttributeError: 'File' object has no attribute 'size'
This page lists size as an attribute the get the file size. What am i missing?
