Skip to main content

merged cells excel tools

Project description

merged_excel_tools

读取合并单元格的工具类

这是用来读取特定格式(合并单元格)的Excel表格的工具类,格式如下 table.png

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 = me.getRowFromRange(range, 0)
    # 这是合并单元格的尾
    end = me.getRowFromRange(range, 1)
    #这是A区域的合并单元格的值
    As = me.get("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 Distribution

merged_excel_tools-1.3.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

merged_excel_tools-1.3-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file merged_excel_tools-1.3.tar.gz.

File metadata

  • Download URL: merged_excel_tools-1.3.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4

File hashes

Hashes for merged_excel_tools-1.3.tar.gz
Algorithm Hash digest
SHA256 0f53ba5f7e3b8e711cc665615edd84a9d757e3c2d5cd6f763e7272486fb38e4a
MD5 739c746af93ec4dc6f9dde98f011f6cf
BLAKE2b-256 22409fda73a60f0c6e1f40821871b57bcf1c68af97e3fdbc9883c728ce1e0b4d

See more details on using hashes here.

File details

Details for the file merged_excel_tools-1.3-py3-none-any.whl.

File metadata

  • Download URL: merged_excel_tools-1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4

File hashes

Hashes for merged_excel_tools-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 24e101bd74de710d3f8ec75f1f1e8cddb225373b75aa0090a79f3231fa76f31f
MD5 083bbcf15104411b3bce6d749db2c14b
BLAKE2b-256 edb6e5cbfe61863ed90f550d2769633437fc473993a5cf2e70c0918d60144bfa

See more details on using hashes here.

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