How to retrieve the author of an office file in python?

后端 未结 4 1010
情话喂你
情话喂你 2020-11-30 12:58

Title explains the problem, there are doc and docs files that which I want to retrieive their author information so that I can restructure my files.

os.stat

4条回答
  •  醉话见心
    2020-11-30 13:38

    For old office documents you could use hachoir-metadata. I use it daily in a script and it works flawlessly. But I don't know wether it works with the new file formats.

提交回复
热议问题