Html or Pdf to Rtf (Linux) with Python

Mike Meyer mwm at mired.org
Thu Dec 16 19:28:53 EST 2004


Axel Straschil <axel at straschil.com> writes:

> Hello!
>
>> That's easy. Load the HTML in MS Word, and save it as RTF. Script it
>> via COM using the python win32all (I think that's what it's now
>> called) package.
> As I wrote in my posting and the subject: linux ;-)
> I could try to do this with open office, by I'm afraid this will not
> be a performant solution ;-(
> I realy was spending hour's on that, the only thing I found was a
> spezifikation for reach text, maybe a good point to start a project ...

Sorry. I forgot the original subject.

You might take a look at PyRTF in PyPI. It's still in beta,
though. But it might be enough that coupled with the HTMLParser.py to
get you where you need to go.

    <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list