Password Protecting Excel file using Python

前端 未结 3 532
[愿得一人]
[愿得一人] 2020-12-03 16:34

I havent found much of the topic of creating a password protected Excel file using Python.

In Openpyxl, I did find a SheetProtection module using:

3条回答
  •  离开以前
    2020-12-03 17:09

    openpyxl is unlikely ever to provide workbook encryption. However, you can add this yourself because Excel files (xlsx format version >= 2010) are zip-archives: create a file in openpyxl and add a password to it using standard utilities.

提交回复
热议问题