Skip to content

Instantly share code, notes, and snippets.

@hirotakaooi1999
Last active December 17, 2019 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hirotakaooi1999/929cf33667c0ab993f1a3526ec220b96 to your computer and use it in GitHub Desktop.
Save hirotakaooi1999/929cf33667c0ab993f1a3526ec220b96 to your computer and use it in GitHub Desktop.
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