How to write RTF from Python?

achrist at easystreet.com achrist at easystreet.com
Fri Apr 25 14:24:33 EDT 2003


Any suggestions of the shortest path from a Python program to RTF
output?  RTF seems to be the best (reasonable combination of 
features and compatability) common denominator for exporting
data so that (windows) users can bring it into their own word
processing program, whatever that may be.  (Any problem with
that?)

Requirements are about like this:

1. Don't need an edit control, just want to write a file, but if
I have to open an edit window, I can.

2. Don't want to do too much fancy.  Text, headings, bulleted
lists,  maybe some variations in font size.

3. Development platform is WinNT, target platform is any reasonably
recent Windows machine (eg either anything newer than Win95 release 1
or Win98 or better). 

TIA,


Al




More information about the Python-list mailing list