Password Protect Excel using Python

preview_player
Показать описание
I will show you how to password protect a Excel workbook and worksheet using Python.

Will be using win32 to protect the workbook and openpyxl to protect worksheet,

Support my Channel

Book a 1 on 1 meeting with me at:
Рекомендации по теме
Комментарии
Автор

Like the way you describe each step.
Very informative.

darrylbaker
Автор

Great content man. Exactly what I was searching for

brainsinister
Автор

is there a way to password protect the excel files on unix/linux using python?

Rajukumar-cgxr
Автор

wb.Visiable is throwing error for me. Will wb.visible also do same functionality?

Harreesh
Автор

Hey Lu,

Hope your good?!

Im looking to a similar thing but the excel file that I want to open is within SharePoint?

Any idea how I could read a password protected excel file within a SharePoint site?

koys
Автор

Can you show how to password protect a csv file?

babacupbal
Автор

Is it applicable for linux?since it is using win32

fernandorinaldi
Автор

setting a worksheet password doesn't seem to enforce the password, I can lift the protection in excel without giving the password

TrueFork
Автор

The set_wb_password_with_win32 is exactly what I need, but I cannot replicate your success here -- I'm confused why your code doesn't error with the misspelling on Row 9? When I run the code, I get a com error saying it cannot access the excel_workbook.xlsx

Tuta
join shbcf.ru