摘要: import osdef open_exe(file_path): """ 打开exe 文件 :param file_path: :return: """ os.chdir(os.path.join(file_path)) os.startfile(file_path) 阅读全文
posted @ 2023-10-07 09:56 郭峰g 阅读(76) 评论(0) 推荐(0) 编辑
摘要: import win32comfrom win32com.client import Dispatchimport os,timedef getWordAddWatermark(file_path, context): """ :param file_path: 文件的路径 :param conte 阅读全文
posted @ 2023-10-07 09:54 郭峰g 阅读(16) 评论(0) 推荐(0) 编辑
摘要: import osfrom win32com.client import DispatchExdef get_pdf(excel_path,pdf_path): """ excel 生成pdf :param excel_path: excel 路径 :param pdf_path: pdf的保存路径 阅读全文
posted @ 2023-10-07 09:53 郭峰g 阅读(23) 评论(0) 推荐(0) 编辑