MS word document generator

Tim Churches tchur at
Wed Mar 15 11:16:34 CET 2006

Raja Raman Sundararajan wrote:
> Hello guys,
>     Is there any nice library to generate word documents using Python.
> As of today I am generating a HTML document and then open it with MS
> Word.
> But the problem is that I am not able to control the pages in the
> document and as a result of it the output looks terrible.
> I have been using reportlab's platypus to generate PDF documents.
> Its a nice application which allows controlling segments of the pages
> programatically.
> I was wondering if there was any library as reportlab to generate word
> documents.

How about PyRTF to generate Rich Text Format documents which MS-Word
will lap up? Thanks to the efforts of Simon Cusack (hi Simon).


Tim C

More information about the Python-list mailing list