使用excel2img包获取excel的Scrren快照。
最近,微软办公版从2013年升级到2016年。
Pyhton的软件包"excel2img“与MSoffice 2013合作过,但观察到MS Office 2016版出现了错误,不确定issue.Kindly guide.Thanks!
导入excel2img
excel2img.export_img("test.xlsx", "status.png", "Sheet1", None)
文件"C:\Python37\lib\site-packages\excel2img\excel2img.py",第113行,在export_img中传递文件"C:\Python37\lib\site-packages\win32com\client__init__.py",行473,在getattr AttributeError中(“'‘%s’对象没有属性'%s'”% (repr(self),attr) AttributeError:‘对象没有属性’父‘AttributeError’
发布于 2020-02-11 06:55:12
@0021就连我都在搜索同样的东西,但看起来excel2img不支持2016年的数据。Excel2img需求
https://stackoverflow.com/questions/57173575
复制相似问题