I have been looking for this for quite some days now, there are mainly some vague approaches discussed but I could not find any solid way and in case I need to implement this, can anyone share some approach to follow?
I have checked node library which implements this https://github.com/dtjohnson/xlsx-populate/blob/7480a02575c9140c0e7995623ea192c88c1886d3/lib/Encryptor.js, and it is actually working - is there anyway I can mimic this behavior in python to create a code which password protect the excel file.
I mainly want to run it on Linux