.xls与.xlsx 文件转换
import win32com.client as win32
#文件路径
lc_path='1.xls'
old_path=lc_path
excel=win32.gencache.EnsureDispatch('Excel.Application')
wb=excel.Workbooks.Open(old_path)
new_path=old_path+'x'
wb.SaveAs(new_path)
wb.Close()
excel.Application.Quit()