We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用库将Word转PDF后,原Word文件没关闭
The text was updated successfully, but these errors were encountered:
按代码逻辑来说,转换的时候不会打开word文档(如下图箭头)。你确定word不是你运行代码之前打开的,忘记手动关闭了?
Sorry, something went wrong.
我也遇到同样问题,使用 word.docx2pdf(path=folder_name, output_path=f'{folder_name}/{name[i]}_pdf/') 程序结束后,word文档被占用(查看是word文档打开后没被关闭,只是界面上关闭,资源没被释放)。
确实word还在后台运行,手动添加一个结束word就解决了 然后当你完事了调用一下poword.mainWord.word_quit()
No branches or pull requests
使用库将Word转PDF后,原Word文件没关闭

The text was updated successfully, but these errors were encountered: