Html or Pdf to Rtf (Linux) with Python
mwm at mired.org
Fri Dec 17 01:28:53 CET 2004
Axel Straschil <axel at straschil.com> writes:
>> 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 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