Pdf -> Doc

A

Anand Pillai

Is there any python module which will convert Acrobat
PDF files to MS Word documents?

I googled for it, but could not find much results apart
from a pdf2doc plugin which needs the compelte acrobat
installation to work.

Thanks for any hints.

-Anand Pillai
 
C

Cousin Stanley

| Is there any python module which will convert Acrobat PDF files
| to MS Word documents?
| ...

I recently found a command-line tool
that will convert PDF files to HTML ....

http://sourceforge.net/projects/pdftohtml/

I've only tried it with a few files,
but the only failure I had was with
a PDF file that I also couldn't copy/paste
from using the Adobe Acrobat reader ....

Perhaps a Python wrapper for this program
could suffice along with subsequent HTML to Doc
conversion if needed ....
 
J

John Niven

Anand said:
Is there any python module which will convert Acrobat
PDF files to MS Word documents?

I googled for it, but could not find much results apart
from a pdf2doc plugin which needs the compelte acrobat
installation to work.

Thanks for any hints.

-Anand Pillai


Could you use Jython (the Java port of Python) [http://www.jython.org]?
If that was an option, you could use Cocoon
[http://cocoon.apache.org/2.1/], which I *think* can convert to/from
PDF. I also *think* it can convert to DOC, and it can definitely
convert to RTF.

Sorry to be so vague, not used Coccon in anger before, but looked at it
in some depth a while back.

Hope this is some use,
Best wishes

John
 
J

jb

you can convert the pdf in any format like html or rtf with a 3rd party tool
and then, if you have word on on machine, you can with python use win23com
to do a macro which will open word, open your exported file and save it as a
doc file. then you can batch your filez

you can even write the macro string in python, and execute it on the fly
through word

good luck

jb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,169
Messages
2,570,919
Members
47,458
Latest member
Chris#

Latest Threads

Top