Skip to content

Instantly share code, notes, and snippets.

@hirotakaooi1999
Last active December 17, 2019 14:29
xlrd
import xlrd
#get xls file
wb=xlrd.open_workbook('C:/hoge.xls')
#get sheet
sheet = wb.sheet_by_name('Sheet1')
#get data
for i in range(row_begin, row_end):
A.append(sheet.cell_value(i,col))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment