Last active
December 17, 2019 14:29
-
-
Save hirotakaooi1999/929cf33667c0ab993f1a3526ec220b96 to your computer and use it in GitHub Desktop.
xlrd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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