python-docx
This package is a fork from the original python-docx. It includes feature requests that are yet to be merged in the original one.
python-docx is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.
Installation
pip install python-docx-ml6
Example
>>> from docx import Document
>>> document = Document()
>>> document.add_paragraph("It was a dark and stormy night.")
<docx.text.paragraph.Paragraph object at 0x10f19e760>
>>> document.save("dark-and-stormy.docx")
>>> document = Document("dark-and-stormy.docx")
>>> document.paragraphs[0].text
'It was a dark and stormy night.'
More information is available in the python-docx documentation
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-docx-ml6-1.0.2.tar.gz
(5.6 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python-docx-ml6-1.0.2.tar.gz.
File metadata
- Download URL: python-docx-ml6-1.0.2.tar.gz
- Upload date:
- Size: 5.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31d968776a5f937a341ae93fab477c35c0d047dbdfde01099a7580855d7bd099
|
|
| MD5 |
7a8782cdd671e26b88a5e3e07eb39db6
|
|
| BLAKE2b-256 |
b29bdf0e7cb205c820d2b43092495dce9a21628428ac6b2891b88486adc57f55
|
File details
Details for the file python_docx_ml6-1.0.2-py3-none-any.whl.
File metadata
- Download URL: python_docx_ml6-1.0.2-py3-none-any.whl
- Upload date:
- Size: 242.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.7.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6031da64073323cf70f7a2b6766df56860c9c2ebfc3a948a66bbb771f90f1c74
|
|
| MD5 |
403b4a19983e5212a5fb5769d3e16ed0
|
|
| BLAKE2b-256 |
bd1556d15d570372d056767aa0df8e72a3ccf1f691411a189f47fd8d44f8fcee
|