[Lilug] hacking an excel file

N.J. Thomas njt at ayvali.org
Tue Jan 17 11:40:16 PST 2017


* Jorg Kewisch <jorg at bnl.gov> [2017-01-12 10:24:13-0500]:
> I am more a python guy and I want to rewrite the functionality in
> python. Is there a way to extract the program from the .xls file?

In the past, I've used the Python libraries "openpyxl" and "xlsxwriter"
in my scripts. They're both good.

They were largely used for reading and writing simple Excel
spreadsheets, but xlsxwriter claims to be able to read and write macros,
which the file you posted seems to make heavy use of.

It may or may not work for you, but it's worth checking out.

Thomas



More information about the Lilug mailing list