The program generated by win32com does not process Word documents properly

The

code is all right. The Word document is processed by calling win32com.client. The specific operations include searching and expand, related operations are all from the MSDN document

.

however, after generating the program, some code can not be executed normally, such as expand statement, selection.text, etc.

excuse me, hero, do you have an answer?

programs are packaged with pyinstaller

Mar.03,2021
Menu