简体   繁体   English

如何使用python xlrd从Excel工作表中检索图像

[英]How can an image be retrieved from an excel worksheet using python xlrd

I am using the xlrd python excel library python-excel . 我正在使用xlrd python excel库python-excel I can read my excel workbook allright (I must say their tutorials are pretty good). 我可以阅读我的excel工作簿(我必须说他们的教程很好)。 BUT I can't retrieve an image stored in a worksheet and thats killing me. 但是我无法检索存储在工作表中的图像,这真使我丧命。

ANY Python method on retrieving an image from a worksheet would be appreciated Thanks 从工作表中检索图像的任何Python方法将不胜感激,谢谢

Sorry, I don't think xlrd is able to do so. 抱歉,我不认为xlrd可以做到。 You can embed an image with xlwt, but can't retrieve objects like charts, images and so on in xlrd... 您可以使用xlwt嵌入图像,但是无法在xlrd中检索图表,图像等对象。

You will have to confirm on the python-excel list , ask there. 您将必须在python-excel列表中进行确认,然后在此处询问。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM