officeextractor从Microsoft Office和LibreOffice文件中提取媒体文件(图像、视频、音乐)。

officeextractor的Python项目详细描述


办公提取器

Test StatusBuild StatusCoverage Status
Version InfoPyPI VersionPyPI Downloads
CompatibilityPython Versions
StyleCode Style: Blackpre-commit

关于

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.


发行说明

Can be found here on GitHub


许可证

GNU General Public License v3.0

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
空间计数器在Java中不起作用   json在java中表示XPath列表的最佳方式   java报警服务接收器安卓   java注入bean在自定义的all存储库中   java从迁移到Spring MVC 4+Hibernate5   JavaEclipseIDE透视图被缓存,更改没有任何影响   java Hibernate:在将对象插入Derby嵌入式数据库时引发SQLGrammerException   适用于mp4或mp3文件的java Exoplayer自动流媒体质量   安卓如何在java的静态方法中使用这个关键字?   SSL服务器端的spring主机名验证+Tomcat和Java 8   java Eclipse强制刷新IDs   java有可能返回Mono。只是从GetMapping(“/”)处理程序中获取(“索引”)吗?   arraylist当我用java编程时,我遇到了这个错误,有人能告诉我到底出了什么问题吗?   java如何更改Apache CXF web服务中的日期时间格式   Jfoenix ChipView中的java多线程   java任务在Spark上不可序列化