2017-06-01から1ヶ月間の記事一覧
(python2.7.x) Install $ pip install xlrd Source code import xlrd def get_sheet_lines(xlsx_filename, sheet_name, num_of_header_lines=1): book = xlrd.open_workbook(xlsx_filename) sheet = book.sheet_by_name(sheet_name.decode('utf8')) lines = …