Skip to main content

快速读取docx文档内容

Project description

readword

快速读取docx文档数据

安装(install)

pip install readword

使用(use):

1. 实例化RW类并填入docx文档路径

2. 创建工作台

3. 退出RW工作台,销毁缓存数据

使用示例:

from readword import RW


# 实例化RW并传入docx文档路径
rw = RW(r'docxpath\file.docx')
# 创建工作台
rw.create_workspace()
# 保存所有png图片
rw.save_all_picture(r'C:\Desktop\test')
# 按照文档结构,获取文档内容和段落类型
rw.get_style_position()
# 退出RW工作台
rw.exit()

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

readword-0.0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

readword-0.0.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file readword-0.0.1.tar.gz.

File metadata

  • Download URL: readword-0.0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.2

File hashes

Hashes for readword-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f42ba670fd2ef1ae13ad3ed22df27bcdb6ed6738b97c719d7f01e21c54665932
MD5 3e65fc936ce6ea81c0efbf645ad114be
BLAKE2b-256 fb03628c36e0254578c4ecaab60b52715506f0e8bb83a2b2d3ecea2629cc24b8

See more details on using hashes here.

File details

Details for the file readword-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: readword-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.2

File hashes

Hashes for readword-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7266f5a1c96d2a9355b8365f467a41acd7289ef4644ca11afa7d36553badda9
MD5 2649dc490eb7976570c054a95692783c
BLAKE2b-256 285fdda4dc2e527afd1aa328865a118facbfe26d0f540a4a026365fa0f4fa154

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