2023-10-27 win32打印工作表 1234567891011import win32com.client as win32excel = win32.gencache.EnsureDispatch('Excel.Application')wb = excel.Workbooks.Open(r'C:\123.xlsx')ws = wb.Sheets('Sheet1') ws.PrintOut()wb.Close(False)excel.Quit() Newer PPT批量转换PDF Older 批量成生二维码