Skip to content

Instantly share code, notes, and snippets.

@zoek1
Last active July 2, 2016 20:44
Show Gist options
  • Save zoek1/a4e2ccf43d13f49057f016718627d406 to your computer and use it in GitHub Desktop.
Save zoek1/a4e2ccf43d13f49057f016718627d406 to your computer and use it in GitHub Desktop.
import openpyxl
wb = openpyxl.load_workbook("data/GrupoA.xlsx")
wb.get_sheet_names()
hoja1 = wb.get_sheet_by_name("Hoja1")
hoja1["A1"]
hoja1["A1"].value
for i in range(1, 5):
print(hoja1["A" + str(i)].value)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment