Opc-diag是一款用于探索Office 2007及之后版本的Microsoft Word, Excel, 和 PowerPoint文件的命令行应用程序。
用户指南:
安装
安装pip
$ pip install opc-diag
获取代码
git clone git://github.com/python-openxml/opc-diag.git
快速安装:
Use Case 1: diff two versions of an Office document
diff
Use Case 2: browse a part in an Office Document
browse
Use Case 3: diff a part between two Office Documents
Use Case 4: extract a package to a directory
extract
Use Case 5: repackage a package directory into a file
repackage
Use Case 6: substitute a part from one package into another
substitute