officeextractor从Microsoft Office和LibreOffice文件中提取媒体文件(图像、视频、音乐)。
officeextractor的Python项目详细描述
办公提取器
Test Status | |
Version Info | |
Compatibility | |
Style |
关于
officeextractor是一个Python库,用于从office文档(Microsoft office和LibreOffice)中提取图像、音频和视频等媒体文件。在
支持的文件类型
^{tb2}$⚠ 注意:不支持Microsoft Office 2003文件(doc、dot、xls、xlt、ppt、pot)。
安装
pip install officeextractor
使用
^{pr2}$参数
officeextractor.extract(src, dest, log=True)
src :str, list of str or tuple of str
Either a single file (string) or several files (list/tuple of strings) as relative or full path.
dest :str
Output directory as relative or full path. If the directory doesn't exist, it will be created.
log :bool, optional
Whether logging should be actived or not. If True, print a summary of the extraction. Default is True.
发行说明
许可证
GNU General Public License v3.0
- 项目
标签: