How to write RTF from Python?

Irmen de Jong irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Mon Apr 28 15:00:31 EDT 2003


Sorry if this has already been mentioned or not appropriate
but I'm hopping late into this thread and I missed the
original messages...

What we did quite successfully was typing a letter in Word, with special
placeholders such as "%%%DATE%%%", "%%%AGE%%%" on the locations where
you want your data items to appear.
Save this as RTF.
Load it as a 'template' in your program and replace the
placeholders with the actual data values. Presto.

Irmen





More information about the Python-list mailing list