Skip to content

XlsImage 是一个从 xls 表格文件里读取图片的 Python 库.

License

Notifications You must be signed in to change notification settings

abumpkin/XlsImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简介

XlsImage 是一个从 xls 表格文件里读取图片的 Python 库.

安装

pip install xlsimage

使用

在代码中使用:

import XlsImage as xls

imgs = xls.XlsGetImages("example.xls")
print("total images: ", len(imgs))
for k, v in enumerate(imgs):
    with open("{}.{}".format(k, v[0]), "wb") as f:
        f.write(v[1])

在命令行中使用:

python -m XlsImage example.xls ./output

About

XlsImage 是一个从 xls 表格文件里读取图片的 Python 库.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages