快速读取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.3.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file ReadWord-0.0.3.tar.gz
.
File metadata
- Download URL: ReadWord-0.0.3.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c3a3a89b2a80683f6a4dc0437a38eb51fc2b0263a474e75f2fcdb60f6449906 |
|
MD5 | 566f7d4f4e3f113397f599eecae978ac |
|
BLAKE2b-256 | 1bed59687f4cac291dd912489bcfa02c0d7faa4dd4a531f9cf18e35551fd3a3d |
File details
Details for the file ReadWord-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: ReadWord-0.0.3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fc0e8b43d1a128bd4096411e367bbe080abb5dde52f55f2f358e67471c187d3 |
|
MD5 | 2b69ed6ae985a9a47ba87c11488668bf |
|
BLAKE2b-256 | 7221ceea6e11bbfed79b64051df5ffe391c9e93f4f85f19b59c8fe0dab50ab6f |