import docx #pip install doxc def get_docx(file_name): d=docx.opendocx(file_name) doc=docx.getdocumenttext(d) return doc doc=get_docx('/Users/xy/Desktop/python笔记/Python.docx') print(doc)
Sign in to make a reply
用户6465289109