python docx无法导入WD_ALIGN_PARAGRAPH
使用python docx过程当中,发现导入对齐方式WD_ALIGN_PARAGRAPH异常
from docx.enum.text import WD_ALIGN_PARAGRAPH
改用以下方法:
from docx.enum.text import WD_PARAGRAPH_ALIGNMENT
使用python docx过程当中,发现导入对齐方式WD_ALIGN_PARAGRAPH异常
from docx.enum.text import WD_ALIGN_PARAGRAPH
改用以下方法:
from docx.enum.text import WD_PARAGRAPH_ALIGNMENT