Generating RTF with Python
Sells, Fred
fred at adventistcare.org
Thu Apr 14 14:06:38 EDT 2005
Apache fop does a good job of combining xslt+xml to generate pdf; the spec
says it does RTF, but I have not tried it. Although fop is java, you can
run it as a (java) executable, so you could run it as a command from python.
It is almost as good as reportlab's stuff.
-----Original Message-----
From: Max M [mailto:maxm at mxm.dk]
Sent: Thursday, March 31, 2005 11:56 AM
To: python-list at python.org
Subject: Re: Generating RTF with Python
Axel Straschil wrote:
> Hello!
>
>
>>does anyone know of a high-level solution to produce RTF from Python=20
>>(something similar to
>>Reportlab for producing PDF)?
>
> Spend hours of googeling and searching, also in this NG, about two
> months ago. My conclusion is: On windwos, maybe you can include some
> hacks with dll's, under linux, linux support for generating rtf is none,
> and so is python's.
>
> My workaround was:
> http://www.research.att.com/sw/download/
> This includes an html2rtf converter, which I access from python via
> popen and temporary files. Not high-level, not very sexy ... ;-(
I looked at this a while ago, which might be a starter.
http://pyrtf.sourceforge.net/
--
hilsen/regards Max M, Denmark
http://www.mxm.dk/
IT's Mad Science
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list