from docx import Document
import os
path = os.chdir(r'C:\\Users\\Vadim\\Desktop\\test')
ld = os.listdir(path)
for doc_file in ld:
print ("reading file")
doc = docx.Document (doc_file)
for par in doc.paragraphs:
par.txt = par.txt.replace("ДВЕМ", "СВЕМ")
for doc_file in ld:
print ("save file")
doc.save(doc_file)