pip install pyexcel pyexcel-xls pyexcel-xlsx import pyexcel pyexcel.save_book_as('in.xls','out.xlsx')