python word转pdf不依赖office_python 实现将office文件 (word, ppt, excel等) 转为pdf
importosfromwin32com.clientimportDispatch,constants,gencache,DispatchExclassPDFConverter:def__init__(self,pathname,export='.'):self._handle_postfix=['doc','docx','ppt','pptx','xls','xlsx']self._filena