A small package for extract images from .xls files
Project description
简介
XlsImage 是一个从 xls 表格文件里读取图片的 Python 库.
安装
pip install xlsimage
使用
在代码中使用:
import XlsImage
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xlsimage-0.0.2.tar.gz
(20.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
xlsimage-0.0.2-py3-none-any.whl
(18.5 kB
view details)
File details
Details for the file xlsimage-0.0.2.tar.gz.
File metadata
- Download URL: xlsimage-0.0.2.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7a6f49bdca3519cb8babd1e92e32fc5ad21614b7951f944677f8535304c228f
|
|
| MD5 |
c8496592947ac49249724b527f7c245d
|
|
| BLAKE2b-256 |
af58b4ef2019411e3f4c0a7e8f5f26bb563f43659714f2862c813cd4e870adf0
|
File details
Details for the file xlsimage-0.0.2-py3-none-any.whl.
File metadata
- Download URL: xlsimage-0.0.2-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea437f336efb35980a754c93d12a4a50c4828ea988394412ad9cf5b7a91c90a4
|
|
| MD5 |
e5c1849ab2ed306e4e2305d82d82e2d9
|
|
| BLAKE2b-256 |
f345219327d210a8e6a8b6125e74638751a6afa0d19d9b31df2973c0c0cd0f3e
|