title: Can I use Win32 COM to replace text inside a word document?
body: <p>I have to perform a large number of replacements in some documents, and the thing is, I would like to be able to automate that task. Some of the documents contain common strings, and this would be pretty useful if it could be automated. From what I read so far, COM could be one way of doing this, but I don't know if text replacement is supported.
  I'd like to be able to perform this task in python? Is it possible? Could you post a code snippet showing how to access the document's text?</p>
  
  <p>Thanks!</p>