Skip to main content

An Excel processing tool.

Project description

cgai-excel

介绍

操作excel

图片获取

规定:

  1. 图片必须以内嵌的形式插入到单元格当中
  2. 图片格子中的文字将不会识别
  3. 解析到获取的图片路径前以img:为标识,比如: img:C:\Temp\output\EXT\xl/media\image6.jpeg

安装教程

pip install cgai-excel

使用说明

仅支持python3

from cgai_excel.Handler import get_excel_data

path = r'F:\Temp\Q\excel_module.xlsx'
data = get_excel_data(path,extract_dirpath='F:\Temp\Q\Atemp')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cgai_excel-0.0.7.tar.gz (16.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page