#NEWLINE# def addWorkBook( filepath ) : #NEWLINE# #INDENT# wb = xlrd . open_workbook ( filepath ) #NEWLINE# for sheet_index in range ( sheet_index . nsheets ) : #NEWLINE# #INDENT# sh = wb . sheet_by_index ( sheet_index ) #NEWLINE# sheet = Sheet . openSheet ( sh ) #NEWLINE# addSheet ( sheet )