Created
October 14, 2025 10:35
-
-
Save stephensmitchell/393a7b595aefb7b583de1b7c2accec73 to your computer and use it in GitHub Desktop.
Reading from a Spreadsheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #https://help.alibre.com/articles/#!alibre-help-v28/reading-from-a-spreadsheet | |
| from openpyxl import load_workbook | |
| # open a workbook, replace with your own path | |
| wb = load_workbook(filename = 'C:\\Users\\<username>\\Downloads\\Book1.xlsx') | |
| # get access to the sheet | |
| Sheet1 = wb['Sheet1'] | |
| # get the value in cell C3 | |
| print Sheet1['C3'].value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment