Use Python in Excel without add-ins
xlwings.org
Use Python in Excel without add-ins
1–10 of 73 posts
Re: Use Python in Excel without add-ins
#2Re: Use Python in Excel without add-ins
#3Re: Use Python in Excel without add-ins
#4Not the same thing, but this made me think about it and readers might be interested to know that the xlrd, xlwt and xlutils python modules ( http://www.python-excel.org/ ) allow you to manipulate Excel files in Python, without even having Excel installed (it's pure Python, so it also works on Linux, for example).
It's a bit of a mess.
Re: Use Python in Excel without add-ins
#5Not the same thing, but this made me think about it and readers might be interested to know that the xlrd, xlwt and xlutils python modules ( http://www.python-excel.org/ ) allow you to manipulate Excel files in Python, without even having Excel installed (it's pure Python, so it also works on Linux, for example).
Looks like xlrd may have been updated to read newer formats, but xlwt is still limited and cannot write .xlsx format spreadsheets, for example. openpyxl _can_ handle the newer formats, but only the newer formats. It's a bit of a mess.
Re: Use Python in Excel without add-ins
#6And, if they could create a plugin that allowed Libre Office to do the same, they could solve one of the last remaining major interoperability issues with LO and Excel: the inability to run VB macros in LO. That would be huge.
Re: Use Python in Excel without add-ins
#7Not the same thing, but this made me think about it and readers might be interested to know that the xlrd, xlwt and xlutils python modules ( http://www.python-excel.org/ ) allow you to manipulate Excel files in Python, without even having Excel installed (it's pure Python, so it also works on Linux, for example).
Looks like xlrd may have been updated to read newer formats, but xlwt is still limited and cannot write .xlsx format spreadsheets, for example. openpyxl _can_ handle the newer formats, but only the newer formats. It's a bit of a mess.
Re: Use Python in Excel without add-ins
#8Re: Use Python in Excel without add-ins
#9Re: Use Python in Excel without add-ins
#10I am guessing DataNitro isn't happy about this