How can I convert an existing xlsx
Excel file into xls
while retaining my Excel file formatting? I use Anaconda Python 3, so I\'m not sure I can us
You can try to use openpyxl, and install it by conda install openpyxl and it should work with python3.5* Then the following code might work
import openpyxl as xl
wb = xl.load_workbook("yourfile.xlsx")
wb.save("file.xls")
You can learn more from openpyxl documentation, https://openpyxl.readthedocs.io/en/default/
Enjoy !