I am trying to extract images from an excel file to the disk using zipfile
python
import zipfile
InputName = "TestExcel.xlsx"
Extracteds = zipfile.ZipFile(InputName).namelist()
ImageFiles = [E for E in Extracteds if E.count('.jpg') or E.count('.jpeg') ]
for i in ImageFiles:
print "----> ",zipfile.ZipFile(InputName).extract(i)
How to get the cell location of those images?
Here I am getting the path of images printed out and all images extracted to the folder on disk