How to Solve NameError: name 'open_workbook' is not defined -- xlrd

Solution: Import the 'open_workbook' module

To Solve the error, add the following line to the top of your code.

from xlrd import open_workbook

 

For more information:
Python xlrd open_workbook