📅  最后修改于: 2022-03-11 14:45:13.118000             🧑  作者: Mango
from openpyxl import load_workbook
FILE_PATH = 'test.xlsx'
SHEET = 'Hoja 1'
workbook = load_workbook(FILE_PATH, read_only=true)
sheet = workbook (SHEET)
for last_name, name, age, email in sheet.iter_rows(min_row=2):
print(last_name.value)
print(name.value)
print(age.value)
print(email.value)