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
if you can convert it to csv this is very suitable.
import dataconverters.commas as commas filename = 'test.csv' with open(filename) as f: records, metadata = commas.parse(f) for row in records: print 'this is row in dictionary:'+row