Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Excel Library for Python 3
#1
What's the best library for manipulating Excel workbook and worksheet? including basic editing and encryption.
Reply
#2
http://www.python-excel.org/
Reply
#3
(May-21-2019, 05:04 AM)heiner55 Wrote: http://www.python-excel.org/

thanks for the heads up. I read the manual and there is no functions to deal with encryption.
Reply
#4
(May-22-2019, 01:30 AM)synthia Wrote: there is no functions to deal with encryption
"encryption" is general term (i.e. not excel-specific) and you need to be more specific what you want to do:
  • Apply some general encryption algorithm on excel file (i.e. in this case it's irrelevant that it's an excel file, it will work on any file all the same).
  • Password protect excel file using built-in excel functionality, i.e. make the excel file password protected.
  • Encrypt the content in some/all cell(s) in the excel file
  • Something else (what?) ...

Also there are other packages to work with excel, e.g. xlwings
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#5
(May-22-2019, 07:25 AM)buran Wrote:
(May-22-2019, 01:30 AM)synthia Wrote: there is no functions to deal with encryption
"encryption" is general term (i.e. not excel-specific) and you need to be more specific what you want to do:
  • Apply some general encryption algorithm on excel file (i.e. in this case it's irrelevant that it's an excel file, it will work on any file all the same).
  • Password protect excel file using built-in excel functionality, i.e. make the excel file password protected.
  • Encrypt the content in some/all cell(s) in the excel file
  • Something else (what?) ...

Also there are other packages to work with excel, e.g. xlwings
1.Encrypt excel workbook
2.Decrypt excel protection
Reply
#6
(May-22-2019, 01:30 AM)synthia Wrote: thanks for the heads up. I read the manual and there is no functions to deal with encryption.
I can understand it as adding a password to your Excel.
Anyone(including you)who wants to open or edit Excel will need the correct password (which you set) to access it.Right?
That's what i did on my computer as i have lots of important files on my computer.
Reply
#7
(May-24-2019, 08:30 AM)Easluy Wrote:
(May-22-2019, 01:30 AM)synthia Wrote: thanks for the heads up. I read the manual and there is no functions to deal with encryption.
I can understand it as adding a password to your Excel.
Anyone(including you)who wants to open or edit Excel will need the correct password (which you set) to access it.Right?
That's what i did on my computer as i have lots of important files on my computer.

Adding password and decrypting the file are the two features i am looking for to build this app
Reply
#8
openpyxl - https://openpyxl.readthedocs.io/en/stabl...ction.html
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#9
@synthia: How get you along ?
Reply
#10
(May-29-2019, 02:29 AM)heiner55 Wrote: @synthia: How get you along ?

still working on it
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python best library for Excel reports & review of existing code MasterOfDestr 4 625 Feb-14-2024, 03:39 PM
Last Post: MasterOfDestr
  Recommend an Excel library for writing data? jonesin1974 1 2,523 Feb-09-2018, 10:28 PM
Last Post: Gribouillis
  PyInstaller, how to create library folder instead of library.zip file ? harun2525 2 4,794 May-06-2017, 11:29 AM
Last Post: harun2525

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020