This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Convert Microsoft Word 'doc' files to 'docx' format by opening and | |
# saving Word files using win32com to automate Microsoft Word. | |
# | |
# The script walks a directory structure and converts all '.doc' files found. | |
# Original 'doc' and new 'docx' files are saved in the same directory. | |
# | |
# This Word automation method has been found to work where OFC.exe and | |
# wordconv.exe do not. | |
# | |
# Tested using Windows 7, Word 2013, python 2.7.10, pywin32-219.win-amd64-py2.7 |