can't open word document after string replacements

Duncan Booth duncan.booth at invalid.invalid
Wed Oct 25 08:50:11 EDT 2006


Frederic Rentsch <anthra.norell at vtxmail.ch> wrote:

> DOC files contain housekeeping info which becomes inconsistent if you 
> change text. Possibly you can exchange stuff of equal length but that 
> wouldn't serve your purpose. RTF files let you do substitutions and they 
> save a lot of space too. But I kind of doubt whether RTF files can 
> contain pictures.

They wouldn't be a lot of use as a document file format if they couldn't 
contain pictures. RTF files can contain just about anything, they can even 
embed other non-rtf objects. Whether rtf applications apart from Word can 
actually handle all of the tags is, of course, another question.




More information about the Python-list mailing list