Solve the bug "AttributeError:<unknown>.Open" when opening word in Python

The reason is that the work processing has not ended yet, and the next operation will start again.

Two solutions:
(1) Purchase a more powerful CPU;

 

(2) Add time.sleep(1) to the code, rest for 1 second, and it will be OK.

 

Reference blog:

https://www.pythonf.cn/read/122269

 

 

Guess you like

Origin blog.csdn.net/Hodors/article/details/114923578