473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Suggestion for converting PDF files to HTML/txt files

Could someone suggest me ways to convert PDF files to HTML files??
Does Python have any modules to do that job??

Thanks,
Srini
Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mai...tools-08.html/
Aug 11 '08 #1
5 924
srinivasan srinivas wrote:
Could someone suggest me ways to convert PDF files to HTML files??
Does Python have any modules to do that job??

Thanks,
Srini
Unless there is some recent development, the answer is no, it's not
possible. Getting text out of PDF is difficult (to say the least) and at
times impossible... i.e. a PDF can be an image that contains some text, etc.
Aug 11 '08 #2
srinivasan srinivas wrote:
Could someone suggest me ways to convert PDF files to HTML files??
Does Python have any modules to do that job??
PDFMiner is a set of CLI tools written in Python, one of which
converts PDF to text, HTML and more:
http://www.unixuser.org/~euske/pytho...ner/index.html
Aug 12 '08 #3
alex23 wrote:
PDFMiner is a set of CLI tools written in Python, one of which
converts PDF to text, HTML and more:
http://www.unixuser.org/~euske/pytho...ner/index.html
Very neat program. Would be cool if it could easily integrate into other
py apps instead of being a standalone CLI tool.
Aug 12 '08 #4
On Aug 12, 11:13*pm, brad <byte8b...@gmail.comwrote:
Very neat program. Would be cool if it could easily integrate into other
py apps instead of being a standalone CLI tool.
Perhaps, but I think you could get a long way using os.system().

Aug 12 '08 #5
alex23 wrote:
On Aug 12, 11:13 pm, brad <byte8b...@gmail.comwrote:
>Very neat program. Would be cool if it could easily integrate into other
py apps instead of being a standalone CLI tool.

Perhaps, but I think you could get a long way using os.system().
Yes, that is possible, but there's a lot of overhead when doing that...
unfortunately. Also, if using os.system() is the answer, then one could
just use the xpdf pdftotext program. A native Python solution that could
be called from other PY apps naturally, would be awesome.
Aug 12 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: nanookfan | last post by:
Hi all, I'm having a bizarre problem converting XML files to HTML using an XSLT. The problem is only occuring in my Netscape 7.0 browser. What makes it more bizarre is that it is only...
1
by: Donald Firesmith | last post by:
We are converting the OPEN Process Framework Repository (www.donald-firesmith.com) of over 1,100 free open source reusable process components for building development methods for...
20
by: Al Moritz | last post by:
Hi all, I was always told that the conversion of Word files to HTML as done by Word itself sucks - you get a lot of unnecessary code that can influence the design on web browsers other than...
8
by: prabha | last post by:
Hello Everybody, I have to conert the word doc to multiple html files,according to the templates in the word doc. I had converted the word to xml.Also through Exsl ,had finished the multiple...
2
by: Ben Amada | last post by:
Hello, A partner is going to be creating some HTML files that I plan on converting to user controls (UC) and dynamically load at runtime. I'm guessing Visual Studio doesn't come with some...
4
by: TJoker .NET [MVP] | last post by:
Is there any emil alias for sending suggestions for new VB features ? Here's one. I wish there was a keyword like AbsoluteNamespace. The reason is recurring on my projects. I usually set the Root...
18
by: Urs Eichmann | last post by:
Make (at least Class Library) Projects shareable between VS 2003 und 2005 http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=572a25b7-4b3d-4364-8bd1-72fd99a18693 Thank...
9
by: Tim | last post by:
Since rtf files cause so many troubles, i.e., allow the users to download the files, slow loading, incompatible with other browser, and so on. Do you think I should convert them to JPEG files to...
9
by: anupamjain | last post by:
Hi, After 2 weeks of search/hit-and-trial I finally thought to revert to the group to find solution to my problem.(something I should have done much earlier) This is the deal : On a JSP...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.