Python program for common Microsoft Word functions using Win32com API