python-docx常用操作
导入库
本文章中的代码会用到的库
import docx
from docx import Document
from docx.shared import RGBColor, Cm
from docx.enum.text import WD_PARAGRAPH_ALIGNMENT
from docx.enum.table import WD_CELL_VERTICAL_ALIGNMENT, WD_TABLE_ALIGNMENT
from docx.enum.style import WD_STYLE_TY
原创
2020-12-01 18:58:53 ·
670 阅读 ·
0 评论