Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 380 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 380 Bytes

python-docx-symbol

Convert docx Symbol characters to unicode characters.

Installation

pip install python-docx-symbol

Example

from docx import Document
from python_docx_symbol import convert_symbols

doc = Document("/path/to/input.docx")
result = convert_symbols(doc)
print(result.converted)
print(result.unconverted)

doc.save("/path/to/output.docx")