Results 5 comments of Pooja Giri

getting error on the line: imgRID = imgPic.xpath('./p:blipFill/a:blip/@r:embed', namespaces=imgPic.nsmap)[0] TypeError: xpath() got an unexpected keyword argument 'namespaces'

for the above issue i have removed namespaces parameter , now I am getting error on this line : imgPart = slide.related_parts[imgRID] AttributeError: 'Slide' object has no attribute 'related_parts'. So...

ImportError: cannot import name 'Px' from 'pptx' (/Usrsss/Xxxxx/anaconda3/lib/python3.7/site-packages/pptx/__init__.py) while other pptx class are working.

while checking available options in pptx.util Length class, got to know that only available options are Centipoints Cm Emu Inches Mm Pt So, Px will not work to get size....