将PDF转换为HTML与Python [英] Converting PDF to HTML with Python

查看:4699
本文介绍了将PDF转换为HTML与Python的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何将PDF文件转换为HTML使用Python?

How can I convert PDF files to HTML with Python?

我独自思考的东西是什么谷歌没有(或似乎做)索引PDF文件。行

I was thinking something alone the lines of what Google does (or seems to do) to index PDF files.

我的最终目标是要配置Apache来显示PDF文件的HTML,所以任何导致我在那个方向也将是AP preciated。

My final goal is to setup Apache to show the HTML for the PDF files, so anything leading me in that direction would also be appreciated.

推荐答案

借助 poppler的包提供了一个实用PDF2HTML您可能能够使用。还有一个 Python绑定来libpoppler。

The poppler package provides a pdf2html utility that you might be able to use. There is also a Python binding to libpoppler.

这篇关于将PDF转换为HTML与Python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆