I have a word document, food worksheet, and I am trying to find the author(s) of the word document but I don't know how to find that out. Is there a way to find out the author of the word document using python?
Thanks in advance
I have a word document, food worksheet, and I am trying to find the author(s) of the word document but I don't know how to find that out. Is there a way to find out the author of the word document using python?
Thanks in advance
Use Python-Docx
import docx
doc = docx.Document("path/to/word/file.docx")
prop = doc.core_properties
print(prop.author)