摘要:
from docx import * # 创建一个已存在的 word 文档的对象 file = Document('测试.docx') # 读取每个段落的内容并输出 for it in file.paragraphs: print(it.text) # 读取表格中的内容并输出 for it in f 阅读全文
摘要:
#coding=utf-8 from docx import Document from docx.shared import Pt from docx.shared import Inches from docx.oxml.ns import qn #打开文档 from urllib3.conne 阅读全文