1、安装
需要安装pywin32包,以实现对Office文件的操作,可以批量转换为pdf文件。支持 doc, docx, ppt, pptx, xls, xlsx 等格式。
pip install pywin32
2、office文件 (word, ppt, excel等) 转为pdf
3、excel的不同sheet存为pdf
标签:文件,python,excel,pywin32,存为,ppt,pdf
来源: https://blog.csdn.net/fei347795790/article/details/90487437