简体   繁体   中英

Is there a way to read a password protected excel file using python?

Is there a way to read a password protected excel file using python? i tried using win32com but it required me to manually key in the password in the cmd

From a past answer

Workbooks.Open might do it Syntax is something like xlwb = xlApp.Workbooks.Open(filename, False, True, None, password) documentation: http://msdn.microsoft.com/en-us/library/office/ff194819.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM