# $ pip install pyexcel pyexcel-xls pyexcel-xlsx import pyexcel as p p.save_book_as(file_name='your-file-in.xls', dest_file_name='your-new-file-out.xlsx')