快速读取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.2.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file ReadWord-0.0.2.tar.gz
.
File metadata
- Download URL: ReadWord-0.0.2.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 | b4d5ae16bb891fd1a078164e2579326f5a63a6c7a4b1f4350aa72f49cca62e76 |
|
MD5 | 1cbfb810806da1925a4e4018f618568c |
|
BLAKE2b-256 | aa488a97af34d53c91f33c5bf565250f9466c07cd234829ea0e3e26e93867f6a |
File details
Details for the file ReadWord-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: ReadWord-0.0.2-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 | 7dde025c8b404d3f2cbb9eb622718dcc8e01663bce446b19ba140163aa656300 |
|
MD5 | 0808e50c169f08fd089e558f3d4681b1 |
|
BLAKE2b-256 | c208fb95f4e5b0c241027d1e5a026f30ddd93f3a9d4bc4651629acb51ac03baf |