merged cells excel tools
Project description
merged_excel_tools
读取合并单元格的工具类
这是用来读取特定格式(合并单元格)的Excel表格的工具类,格式如下
install
使用pip
pip install merged_excel_tools
使用方法
from merged_excel_tools import merged_excel
me = merged_excel("example.xlsx")
ranges=me.getMergedList()
for range in ranges:
# 这是合并单元格的首
start = range.min_row
# 这是合并单元格的尾
end = range.max_row
#这是A区域的合并单元格的值
As = me.getValue("A",start)
注意
使用openpyxl来读取excel表格
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for merged_excel_tools-1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d37785cc93605f56d058920e78ef7eda9673793d58eefec6fd09e88c35e9ed66 |
|
MD5 | 4ebd0126f436abba842405840f0e07e4 |
|
BLAKE2b-256 | 1d220784e3d7a48fc3763d61b86f29d57a439de12ec7bb7a4c271490eb9ea6d6 |