There should be 100 folders with 2 images in them. However, some folders have only one.
Collect only the folders that contain only one image in the "mada" folder.
For detailed explanation and code, see [Python] File operation using if statement.
Recommended Posts