Frederic Rentsch <[EMAIL PROTECTED]> 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
Antoine De Groote wrote:
> Hi there,
>
> I have a word document containing pictures and text. This documents
> holds several 'ABCDEF' strings which serve as a placeholder for names.
> Now I want to replace these occurences with names in a list (members). I
> open both input and output file in bi
[Antoine]
> I have a word document containing pictures and text. This documents
> holds several 'ABCDEF' strings which serve as a placeholder for names.
> Now I want to replace these occurences with names in a list (members).
[Bruno]
> I don't know how it's named in english, but in french it's (w
Antoine De Groote wrote:
> Bruno Desthuilliers wrote:
>
>>Antoine De Groote wrote:
>>
>>>Hi there,
>>>
>>>I have a word document containing pictures and text. This documents
>>>holds several 'ABCDEF' strings which serve as a placeholder for names.
>>>Now I want to replace these occurences with nam
Antoine De Groote wrote:
> Bruno Desthuilliers wrote:
>> Antoine De Groote wrote:
>>> Hi there,
>>>
>>> I have a word document containing pictures and text. This documents
>>> holds several 'ABCDEF' strings which serve as a placeholder for names.
>>> Now I want to replace these occurences with name
Bruno Desthuilliers wrote:
> Antoine De Groote wrote:
>> Hi there,
>>
>> I have a word document containing pictures and text. This documents
>> holds several 'ABCDEF' strings which serve as a placeholder for names.
>> Now I want to replace these occurences with names in a list (members).
>
> Do yo
Thank you all for your comments.
I ended up saving the word document in XML and then using (a slightly
modified version of) my script of the OP. For those interested, there
was also a problem with encodings.
Regards,
antoine
--
http://mail.python.org/mailman/listinfo/python-list
Antoine De Groote wrote:
> Hi there,
>
> I have a word document containing pictures and text. This documents
> holds several 'ABCDEF' strings which serve as a placeholder for names.
> Now I want to replace these occurences with names in a list (members). I
> open both input and output file in bin
Antoine De Groote wrote:
> Hi there,
>
> I have a word document containing pictures and text. This documents
> holds several 'ABCDEF' strings which serve as a placeholder for names.
> Now I want to replace these occurences with names in a list (members).
Do you know that MS Word already provides
Antoine De Groote wrote:
> I have a word document containing pictures and text. This documents
> holds several 'ABCDEF' strings which serve as a placeholder for names.
> Now I want to replace these occurences with names in a list (members). I
> open both input and output file in binary mode and
Hi there,
I have a word document containing pictures and text. This documents
holds several 'ABCDEF' strings which serve as a placeholder for names.
Now I want to replace these occurences with names in a list (members). I
open both input and output file in binary mode and do the
transformation
11 matches
Mail list logo