Does xlwings require excel installation

Does xlwings need to install excel?

We hope to use it with installing anaconda on a Windows server without EXCEL to insert some data into the workbook and transfer the workbook back to the user.

+4
source share
1 answer

xlwings is really designed to interact with an executable instance of Excel and therefore does not work on Linux.

You need to take a look at the pandas to_excel method , or you can even use one of the base libraries that this method uses ( XlsxWriter, openpyxland xlwt).

In short, with pandas you can do:

df.to_excel('output.xlsx', 'Sheet1')
+6
source

All Articles