python word 转 pdf

批量将word转pdf

import os
import comtypes.client

#相对路径可能报错,别问我怎么知道的。。。。。
file_path=r"D:\\PycharmProjects\\abc\\"
out_file=''
file_list=os.listdir(file_path)
for word_path in file_list:
	doc_name=file_path+word_path
	pdf_name=file

你可能感兴趣的:(python)