【发布时间】:2019-03-07 07:09:40
【问题描述】:
我想从 docx 文件中读取标题,但文档模块没有读取标题的属性,我该怎么做
from docx import Document
def docheading():
document = Document('C://Users//yousafzai//Desktop//Database//riya//riya//AbdulMateen.docx')
headings=document.heading
【问题讨论】:
标签: python-2.7 docx