for f in folders:
path = " sample_data/"+f
print(f+ " "+ str(len(os.listdir(path))))
FileNotFoundError Traceback (most recent call last)
in ()
1 for f in folders:
2 path = " sample_data/"+f
----> 3 print(f+ " "+ str(len(os.listdir(path))))
FileNotFoundError: [Errno 2] No such file or directory: ’ sample_data/horses’