问题
I have a small python code to open an Excel file. Now I want to "Save As" with a different name but same format. How do I do that.. Any help will be great. FK
回答1:
Here is a tutorial on using the win32com API with Excel and here is the COM method you will likely have to call, Workbook.SaveAs. And here is an example of actually making the call.
来源:https://stackoverflow.com/questions/1742471/how-to-use-python-win32com-to-save-as-excel-file