I have 5 images in folder. I want to convert all that images into grey scale.
import glob
colorIm = []
for filename in glob.glob('/content/drive/My Drive/Colab Notebooks/Asplab/Cifar/*.png'):
print(filename)
img = Image.open(filename)
colorIm.append(img)
greyIm=colorIm.convert('L')
AttributeError: 'list' object has no attribute 'convert'
img.convert('L')and notcolorIm.convert('L').colorImbyimg, but neither your identifiers nor the lack of comments help, You may want to re-read the minimum example explanation here.