导入excel

from openpyxl import load_workbook
wb = load_workbook('c:\\aaa2222339\\tensorflow\\asd.xlsx')
sheet = wb.get_sheet_by_name('Sheet1')
# print(sheet['C2'].value)
for i in sheet["C"]:
print(i.value)

posted @ 2019-01-06 21:22  Jary霸  阅读(119)  评论(0编辑  收藏  举报