AttributeError: 'NoneType' object has no attribute 'SaveAs'
你的这段程序,当i=3的时候,循环条件不成立就直接退出了
txihkzd
我也是这个问题 word可以跑出来,pdf不行
mytxt = wordappp.Documents.Open(filePath)
确保这句代码正确执行