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()
More Related Contents:
- GroupBy results to dictionary of lists
- Create a .csv file with values from a Python list
- Preserving styles using python’s xlrd,xlwt, and xlutils.copy
- writing to existing workbook using xlwt [closed]
- Pandas: Looking up the list of sheets in an excel file
- python xlrd unsupported format, or corrupt file.
- Reading Excel File using Python, how do I get the values of a specific column with indicated column name?
- Get formula from Excel cell with python xlrd
- Error: Unsupported format, or corrupt file: Expected BOF record
- Convert date from excel in number format to date format python [duplicate]
- How to obtain sheet names from XLS files without loading the whole file?
- Python xlwt – accessing existing cell content, auto-adjust column width
- xlrd.biffh.XLRDError: Excel xlsx file; not supported [duplicate]
- Insert row into Excel spreadsheet using openpyxl in Python
- Edit existing excel workbooks and sheets with xlrd and xlwt
- Identifying Excel Sheet cell color code using XLRD package
- python: update dataframe to existing excel sheet without overwriting contents on the same sheet and other sheets
- Integers from excel files become floats?
- How on earth does this code work
- Get the string within brackets in Python
- Child processes created with python multiprocessing module won’t print
- How to get current time in python and break up into year, month, day, hour, minute?
- Pandas – Number of Months Between Two Dates
- How do I convert a list in a Pandas DF into a string?
- Error while downloading the requirements using pip install (setup command: use_2to3 is invalid.)
- Converting images to csv file in python
- How do I raise the same Exception with a custom message in Python?
- Python list([]) and []
- class method __instancecheck__ does not work
- Argv – String into Integer