I want to create a dictionary from the values, i get from excel cells, My code is below,
wb = xlrd.open_workbook(\'foo.xls\') sh = wb.sheet_by_index(2) f
or you can try pandas
from pandas import * xls = ExcelFile('path_to_file.xls') df = xls.parse(xls.sheet_names[0]) print df.to_dict()