0

How to convert .xls file to .xlsx file using python packages openpyxl and xlrd? and how can we save the new .xlsx file into directory ?

Abhishek
  • 45
  • 1
  • 5

1 Answers1

4

you could use http://www.python-excel.org/ try read their documentation its easy thank you

or you can use this: https://github.com/python-excel/xlrd

or simply you can do:

sudo pip install pyexcel-cli pyexcel-xls pyexcel-xlsx
pyexcel transcode xls-file.xls xlsx-file.xlsx
HSLM
  • 1,452
  • 9
  • 19