Using the xlrd module

First, we have to install the xlrd module. Run the following command in your Terminal to install the xlrd module:

   pip3 install xlrd
Note: Make sure you have an Excel file present in your system. I have sample.xlsx present in my system. So I'm going to use that file throughout this section.

We are going to look at how to read an Excel file and how to extract rows and columns from the Excel file.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset