Converting .XLSX to .XLS in Python with win32com.client module

前端 未结 1 852
感动是毒
感动是毒 2021-01-06 23:09

I am trying to find a way to convert many files from .xlsx to .xls and have been trying Python with the win32com.client module:

import win32com.         


        
相关标签:
1条回答
  • 2021-01-06 23:52

    I am not sure what is wrong, your code works for me. I used a sample file and tested it, it works. Maybe try inserting print("Checking") and input() before and after the SaveAs command to check whether the save as command is executed or not.

    0 讨论(0)
提交回复
热议问题